tar --extract --file 20060506.edidataff.tar /edidata/IN/S_NIS/customer/20060506/050629H0.GTN
Programming
[shell] sed replace to \n
sed is utility to replace particular text with new text in files.
s/// doesn’t work with \n
use y/// for \n replacement
sed 'y/ /\n/g'
Or you can use ‘tr’
$> tr -s '~' '\n' < inputfile > outputfile