and -f <field1,field2> supports it too

This commit is contained in:
Aleksey Cheusov 2008-12-26 19:20:35 +00:00 committed by Thomas Klausner
parent d5843db8d6
commit ed8713adfd

View file

@ -66,7 +66,7 @@ while test $# -ne 0; do
usage
exit 0;;
-f|--fields)
fields="$2"
fields="`echo $2 | tr , ' '`"
shift;;
-f=*)
printf '%s\n' '-f= is not allowed' 1>&2