You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`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>
0 commit comments