^M 's in uploaded text files.

Randal Schwartz merlyn at iwarp.intel.com
Fri Feb 2 06:30:31 AEST 1990


In article <1990Feb1.164704.23581 at athena.mit.edu>, jik at athena (Jonathan I. Kamens) writes:
|   tr -d "\012" < filename > filename.new

Bzzzt.  Can't combine that sorta quoting.  tr will get '012' as an
argument, not '\012', so what you wanted was either:
	"\\012"
or
	'\012'

Durn shell quotes. :-)

Just another oft-quoted source,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn at iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/



More information about the Comp.unix.questions mailing list