[CLUE-Tech] RE question

Match Grun match at dimensional.com
Thu Feb 1 08:42:07 MST 2001


Kevin,

According to the documentation (man cat):

	^I indicates a tab character at the beginning of the line.
	^M is a carriage return character (not a line feed).
	$ indicates the end of line (a line feed character).

I don't know how the file AMBASS.2 file was created. Maybe it is a text
file created by DOS/Windows applications. For text files new line
characters are represented as:

	\n in Unix,
	\r\n in DOS/Windows
	\r in Mac

If you want to convert DOS and Mac text files, a good tool is tr.

Match

Kevin Cullis wrote:
> 
> Jeff,
> 
> OK, now we're talking. I did the
> 
> cat -vet AMBASS.2
> 
> and each end of line has this:
> 
> sent to another state to represent his sovereign or country.  By analogy
> we^M$
> 
> OK, that shows a carrage return in SO, but when I do a \r in sed, it
> doesnt change it. Why?
> 
> BTW, this is what a new paragraph line looks like:
> 
> ^I2.  There is no appointment to such ambassadorship until the person^M$
>



More information about the clue-tech mailing list