9 lines
175 B
Text
9 lines
175 B
Text
|
#!/usr/bin/env zsh
|
||
|
if command -v gawk &>/dev/null; then
|
||
|
gawk "${@}"
|
||
|
elif command -v awk &>/dev/null; then
|
||
|
awk "${@}"
|
||
|
else
|
||
|
echo "Unable to find an awk!" >&2; return 1
|
||
|
fi
|