[Nottingham] SED and removing newlines
Ron Wilton
ron_w_add at yahoo.co.uk
Mon Feb 9 21:10:14 UTC 2009
Hello
Can anyone tell me how I remove newlines from a text file. I'm trying to use SED but an finding it difficult to find what I'm looking for (not being helped by not being too familiar with it).
I'm want to use it with to take away newlines for when I'm converting text to speech using text2wave. An example of what I've tried to do follows, but this just an error message.
cat -A /home/ron/test | sed -e -n | text2wave -o test.wav
Thanks for any help
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/nottingham/attachments/20090209/81aa1cf5/attachment.htm
More information about the Nottingham
mailing list