script help

Patrick O'Callaghan pocallaghan at gmail.com
Wed Dec 3 16:38:18 UTC 2008


On Wed, 2008-12-03 at 09:10 -0500, Bill Davidsen wrote:
> I have a tiny program called "zeroify" which reads a line from input
> up to a 
> newline, replaced the newline with a zero byte, and pushes it out
> stdout. Then I 
> can use the "-0" option of xargs and not worry about special
> characters.

You mean:

	tr "\012" "\0"

poc




More information about the fedora-list mailing list