Paul Schmehl wrote:
>I found a sed tutorial once that did this, but I can't seem to find it again.
>I have a file with multiple lines, each of which contains a single ip followed
>by a /32 and a comma.  I want to combine all those lines into a single line by
>removing all the newline characters at the end of each line.
>
>What's the best/most efficient way of doing that in a shell?

paste(1)?

b.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to