Re: [eug-lug]combining shell streams

2004-03-19 Thread Jacob Meuser
On Thu, Mar 18, 2004 at 08:07:24PM -0800, Cory Petkovsek wrote: On Thu, Mar 18, 2004 at 03:13:09PM -0800, Jason wrote: 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

Re: [eug-lug]combining shell streams

2004-03-18 Thread Jason
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

Re: [eug-lug]combining shell streams

2004-03-18 Thread Cory Petkovsek
On Thu, Mar 18, 2004 at 03:13:09PM -0800, Jason wrote: 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. What you typed is