Skip to content

Commit

Permalink
Fix /usr/bin/env Flag
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-c24 committed Jul 4, 2021
1 parent 02d48f4 commit a4db70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/format-columns.awk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env awk -f
#!/usr/bin/env -S awk -f

# take a line containing a "↓"-separated string like
# best title↓worst tag, mediocre tag↓https://someurl↓42
Expand Down
2 changes: 1 addition & 1 deletion src/json-to-line.jq
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env jq -fr
#!/usr/bin/env -S jq -fr

# append all values to one line with separator "↓", handle input of either
# single objects or object arrays
Expand Down

1 comment on commit a4db70e

@schragge
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't jq -fr better be jq -rf? Yes, jq can cope with both, but I find the former confusing. Reminds me of tar legacy style options:

tar cfz archive.tar.gz file

Please sign in to comment.