
Use tr instead: tr '\f' '\n' < input_filename >output_filename On 20/11/2015, Jangita via skunkworks <skunkworks@lists.my.co.ke> wrote:
have you tried the utilities dos2unix and unix2dos? ᐧ
On 20 November 2015 at 15:03, Bwana Lawi via skunkworks < skunkworks@lists.my.co.ke> wrote:
Hi guys,
I need to replace a form feed character with a line feed character in a text file on unix (HP UX to be precise).
Was hoping to use sed using this <http://www.cyberciti.biz/faq/unix-linux-sed-ascii-control-codes-nonprintable/> as a guide but I don't know how to pass the \n character to replace the /f character.
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Tony White