Re: [OT] UNIX heads; can I do this?
Re: [OT] UNIX heads; can I do this?
- Subject: Re: [OT] UNIX heads; can I do this?
- From: Bill Briggs <email@hidden>
- Date: Thu, 14 Jun 2007 07:34:17 -0300
At 10:56 AM +0200 6/14/07, Emmanuel wrote:
>At 9:49 PM -0300 6/13/07, Bill Briggs wrote:
>>
>>At 4:32 PM -0700 6/13/07, Philip Aker wrote:
>>>On 2007-06-13, at 15:24:21, Bill Briggs wrote:
>>>
>>>>Well, I've got a tab delimited file and want to get one of the columns from it. I'm betting that even with the Satimage osax you can't get more terse than this:
>>>
>>>>awk '{ FS = " " } ; {print $3}' b.txt > c.txt
>>>
>>>Betting how much?
>>>
>>>cut -f 3 < b.txt > c.txt
>>>
>>>:-)
>>
>>Okay. That's terser.
>
>Terseness vs legibility ...
>
>extractcolumn 3 from f -- uses Satimage osax
I would NEVER try to defend the readability of shell scripts.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden