Scripting Question
Hal Burgiss
hal at burgiss.net
Sat Feb 14 21:43:56 UTC 2009
On Sat, Feb 14, 2009 at 12:55 PM, Hal Burgiss <hal at burgiss.net> wrote:
> On Fri, Feb 13, 2009 at 9:18 PM, Patton Echols <p.echols at comcast.net> wrote:
>> I have a fairly massive flat file, comma delimited, that I want to
>> extract info from. Specifically, I want to extract the first and last
>
> I don't see that anyone has mentioned 'cut':
>
> cut -d, -f2,4,57,59,61 $csvfile |grep @
Not a good idea if there are embedded commas like ...
12330,,,"Volmer, Robert",,"Rob.Volmer at gardra.com","NY",,,,,,,,,,,,
--
Hal
More information about the ubuntu-users
mailing list