Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace
awk
with sed
(SC2016)
`command -p -- awk -F '\t' -- '{$2 $1}'` creates a false positive SC2016 error in Shellcheck v0.9.0 `command awk -F '\t' -- '{$2 $1}'`, which is identical in function, causes no such error Because it appears that any command that begins `command -p` and contains a single-quoted dollar sign is incorrectly considered an SC2016 error in Shellcheck v0.9.0, this commit replaces the `awk` program with a `sed` command which also provides identical functionality: `command -p -- sed -e 's/\(.*\)\t\(.*\)/\2\1/'` Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
- Loading branch information