<quote who="Jeff Waugh">

> sed 's/\(.*\)/insert into table1 ("\1");/' myfile.csv

sed 's/.*/insert into table1 (&);/' myfile.csv

:)

(he didn't ask for the "", btw)
-- 
Jan Schmidt                                  [EMAIL PROTECTED]

"Stoke me a clipper, I'll be back for Christmas"
  -- Arnold 'Ace' Rimmer, Red Dwarf
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to