<quote who="Mark A. Bell">

>   awk '{print "insert into table1 (" $0 ")"}' myfile.csv

> P.S.: How do you do it with Sed?

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

- Jeff

-- 
     "Stick that in your analogy pipe and smoke it!" - On returning the     
                            bulletproof analogue                            
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to