]> mj.ucw.cz Git - eval.git/commitdiff
Formatting...
authorMartin Mares <mj@ucw.cz>
Wed, 16 May 2001 11:57:03 +0000 (11:57 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 16 May 2001 11:57:03 +0000 (11:57 +0000)
bin/mo-get-users

index e8a3d2cef66065ed7b08464eb5e76cff2fc023c1..f2ed30fc0fb02751dc595267f4e7e49db51974e1 100755 (executable)
@@ -8,8 +8,8 @@ set -e
 . config
 
 if [ "$1" = --full ] ; then
-       FORM='$1,"\t",$5'
+       FORM='$1,$5'
 else
        FORM='$1'
 fi
-awk -F: </etc/passwd "{ gsub(\",.*\",\"\",\$5); if (\$3 >= $CT_UID_MIN && \$3 <= $CT_UID_MAX) print $FORM; }"
+awk -F: </etc/passwd "{ gsub(\",.*\",\"\",\$5); OFS=\"\t\"; if (\$3 >= $CT_UID_MIN && \$3 <= $CT_UID_MAX) print $FORM; }"