[CLUE-Tech] RE question

Kevin Cullis kevincu at orci.com
Sat Feb 10 15:24:01 MST 2001


Match,

And don't forget the fmt command for fixing up wayward lines ;-)  So
many tools, so little time!

Kevin

Kevin Cullis wrote:
> 
> Match,
> 
> Thanks for the info, I've been so busy that I've not had time to thank
> you for your input. Now you've given me ANOTHER thing to learn: tr!!
> Whew, my brains overloading and I think I need to dump my Windblows info
> outta MY memory ;-)
> 
> Match Grun wrote:
> >
> > 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:
> 
> The AMBASS.2 file is a Windows file, DOS, which I need to convert to
> plain text and reconvert to HTML (that's my project). It's about over
> 500 files which I need to do tr to as well as use sed and awk, but one
> thing at a time.
> 
> >
> >         \n in Unix,
> >         \r\n in DOS/Windows
> >         \r in Mac
> 
> While I knew this, the info is great for future reference.  Thanks
> again, you've saved my some time and effort.
> 
> Kevin
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech



More information about the clue-tech mailing list