Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Read file from parameter #4

Open
weichuliu opened this issue May 16, 2017 · 0 comments
Open

Read file from parameter #4

weichuliu opened this issue May 16, 2017 · 0 comments

Comments

@weichuliu
Copy link

Will be nice to treat the last argument as filename, as most of unix command line tools do.

expected behavior:

  • jiq foo.json: Read foo as json contents
  • cat foo.json | jiq -: - as stdin
  • jiq <(y2j foo.yml): Recognize shell redirection
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants