perl -00 -lpe 's/(.{40})\n/$1 /g' file
--
John.
In reply to Re: Single newline removal when line exceeds x characters
by jmcnamara
in thread Single newline removal when line exceeds x characters
by tomdyson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |