Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow file list as input #54

Closed
rien333 opened this issue Jan 5, 2019 · 3 comments · Fixed by #115
Closed

Allow file list as input #54

rien333 opened this issue Jan 5, 2019 · 3 comments · Fixed by #115
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rien333
Copy link

rien333 commented Jan 5, 2019

cat allows you to print multiple files:

$ cat file1.txt file2.txt ...
# file 1 output
# file 2 output
...

Would be cool if mdcat would be compatible with cat in this way. A neat addition of this feature would be that you can cat files that adhere to a regex pattern, so you can for example cat all notes pertaining to some author:

$ mdcat Smith*.md
@swsnr
Copy link
Owner

swsnr commented Jan 6, 2019

I’ll merge a pull request which adds this feature.

@swsnr swsnr added enhancement New feature or request help wanted Extra attention is needed good first issue and removed enhancement New feature or request labels Jan 6, 2019
@tsonev7
Copy link

tsonev7 commented Jul 3, 2019

@lunaryorn are you still doing this? :)
I can take this task if you don't have time to implement it.

@swsnr
Copy link
Owner

swsnr commented Jul 3, 2019

I never said that I would do this.

If anyone wants this they’ll have to make a pull request.

swsnr pushed a commit that referenced this issue Jan 10, 2020
Also adds `--fail` to bail out early.

Closes GH-54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants