On 22Sep2008 16:34, Rick Stevens <[EMAIL PROTECTED]> wrote:
> Uh, how about:
>       cat file.txt | sed '$!N;s/\n//' >newfile.txt

For something that simple, how about:

  tr -d '\012' < file.txt >newfile.txt; echo >>newfile.txt

But I suspect he wants something more complicated (as yet unspecified).
-- 
Cameron Simpson <[EMAIL PROTECTED]> DoD#743
http://www.cskk.ezoshosting.com/cs/

The type syntax for C is essentially unparsable. - Rob Pike

-- 
fedora-list mailing list
[email protected]
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to