[X-Unix] Why didn't Apple change the line break ?
Eugene Lee
list-themacintoshguy at fsck.net
Tue Sep 21 07:40:07 PDT 2004
On Tue, Sep 21, 2004 at 05:09:51AM -0700, Craig wrote:
:
: This may be unrelated, but why is it that on OS X, if you redirect the
: output of ls or some other commands into a text file then open the
: file with a text editor, you see something like this:
:
: [01;34malias sketchbook examples[0m
: [0mls.txt[0m
: [01;34mnew pix[0m
: [0moreilly.com -- Online Catalog- PDF Hacks.webloc[0m
: [0mwiretap.sit[0m
: [0mzip code article-LVRJ.html[0m
: [0mzip code map-LVRJ.gif[0m
: [m
:
: which should, & if you cat the file does, look like this:
:
: alias sketchbook examples
: ls.txt
: new pix
: oreilly.com -- Online Catalog- PDF Hacks.webloc
: wiretap.sit
: zip code article-LVRJ.html
: zip code map-LVRJ.gif
You're not using a standard version of "ls". Do this and report
what you see in a text editor:
$ /bin/ls > files.txt
--
Eugene Lee
http://www.coxar.pwp.blueyonder.co.uk/
More information about the X-Unix
mailing list