On Tue, Jan 15, 2008 at 08:34:29PM -0800, Varghees Samraj wrote:
> You are rite when you use it for only one field. But awk is more powerful
> than cut. I just gave you an example to do that.
>
No question that you're right about awk being FAR more powerful than
cut. (Although actually, you can do multiple fields with cut, too,
e.g., cut -d : -f 1,7 /etc/passwd which would give you, in FreeBSD, the
user name and shell.
I suspect you're very good at awk. I think if I were better at using
awk, I'd probably not even think about cut. Since I'm not good at awk
though, I tend to use cut when I can. :)
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Spike: So when do we destroy the world, already?
To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be
removed.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/