1

sed data extract

view story
linux-howto

http://www.unix.com – Hello, I have huge number files in a directory. All files have the data. I want extract data. I want all output write to single csv file. following codes works. Thank you very much for help. sed -n '/.*Content$txtE_Zip" type="text" value="\([^<][^<]*\)" maxlength.*/s//\1/p' *>file1 sed -n '/.*Content$txtE_City" type="text" value="\([^<][^<]*\)" maxlength.*/s//\1/p' *>file2 sed -n '/.*Content$txtE_Address" type="text" value="\([^<][^<]*\)" maxlength.*/s//\1/p' *>file3 sed -n '/.*Content_l (HowTos)