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

Re: bash, grep, and regular expressions



Michael Marsh wrote:
On Fri, 18 Feb 2005 22:50:54 -0800, Freddy Freeloader
<fredddy@cableone.net> wrote:

OK.  After getting rid of the alias there are several that work
correctly for me.


Just curious -- how *exactly* did you set up the alias?  I've tried
alias ls="ls -la"
and the behavior is still correct.  With the alias, did "ls", "\ls
-la", and "ls -la" actually return different things?


I set it up as alias ls="ls -al --color=always". On one of the IT sites I spend a fair amount of time on a *nix admin with quite a few years experience said he has run into problems using aliases on some machines too, so I guess it isn't unknown. I thought it was pretty strange that it screwed things up too, but it certainly did make a difference.



Reply to: