cut question

Luke Davis ldavis at shellworld.net
Tue Sep 16 13:53:54 EDT 2003


As with someone else's question: have you considered awk?:

awk -e '{print $1}'

On Tue, 16 Sep 2003 awesome-dave1 at juno.com wrote:

> Hello,
> 	Got probably a simple question, one whose answer is probably staring me
> in the face. I'm writing a script that outputs stopped or aborted jobs in
> a mailq. The purpose is to grab field one, the queue ID field then place
> that info in a file. The problem is i can grab the first field, but cut
> takes the entire line. I need to know how to make cut split on a space?
> Thanks.
> Dave.
>
>
> ________________________________________________________________
> The best thing to hit the internet in years - Juno SpeedBand!
> Surf the web up to FIVE TIMES FASTER!
> Only $14.95/ month - visit www.juno.com to sign up today!
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

-- 
In memory of The Man In Black.  His music will live forever!




More information about the Speakup mailing list