Re: [X-Unix] Why didn't Apple change the line bre ak ?

Craig craig at craigwdesigns.com
Tue Sep 21 15:10:23 PDT 2004


On Sep 21, 2004, at 7:02 AM, James Bucanek wrote:
>
> Because, as Eugene pointed out, your text editor sucks.  Get a decent 
> one like BBEdit or TextWrangler.  Even Apple's bundled TextEdit will 
> handle most line endings correctly.
>

It looks like that with TextEdit, /usr/bin/vi (6.2), /sw/bin/vim (6.2), 
/sw/bin/emacs (21.3), whatever.

On Sep 21, 2004, at 7:40 AM, Eugene Lee wrote:

> You're not using a standard version of "ls".  Do this and report
> what you see in a text editor:
>
> 	$ /bin/ls > files.txt
>

You're right, Eugene. My ls commands default to /sw/bin/ls, which is 
part of fileutils 4.1 & unlike Apple's included ls, works with ls 
--color. I tried /bin/ls & it doesn't make those characters. Thanks, 
I'll remember that when I need to make lists. But normally I like the 
color, & I still wonder why it does that, when I've never seen anything 
like it on any Linux distro?

btw, my .bashrc does include: alias ls='ls --color'
I tested /sw/bin/ls just now without that alias, & it does indeed work 
normally!
So Eugene was right once again...

Thanks all,
Craig




More information about the X-Unix mailing list