[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

changing hard returns to soft ones


I'm interested in printing a Gutenberg Project text (it's ok, I'm a
bookbinder--printing is typical behaviour for me). The problem is the line
breaks in the .txt files.

Does anyone know how I could convert single hard returns into a white
space? It must be some variation of:
	# mac file to Unix file:
	tr '\015' '\012' < old.txt > new.txt

...but I'm not sure what the octal value (?) is for a hard return.

I'm happy to try other things as well (someone else recommended "importing
ASCII into a word formatting program").

Thanks for your suggestions,

Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]

Reply to: