That's pretty sweet Cory. Thanks for the brief cut tutorial as well: > - cut -f 1 -d : <file>, means print the first > column, delimited by :
I am an awk user by habit and would usually do an: $ awk -F: '{print $1}' /etc/passwd for this, but cut saves some typing and seems more logical for these cases where you don't need to do selective (regex) printing. Jason __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com _______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug