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

Re: [seul-edu] Carriage returns



Make a 1-line shell script that contains
	sed 's/^M$//' $1
where "^M" is a "CTL-M".  This will remove the carriage return
at the end of each line in the file identified in the operand to your
named script.  Happy sedding.
	Mike

At 04:24 PM 11/6/1999 +0100, Bill Tihen -- TECHNOLOGY wrote:
>Is there some little utility to strip carriage returns
>out of dos file and replace them with \n or do I need to
>write  my own little script?
>
>Bill
>
>--------------------------------------
>If you find this message objectionable 
>or of questionable authenticity please 
>contact <support@tasis.ch>.
>