In a message dated: Sun, 25 Nov 2001 20:40:19 EST
Benjamin Scott said:

>> This would completely mess up things like:
>>
>>        $ for i in `ls /some/long/path`
>>        > do
>>        >  cp $i ${i}.bak
>>        >  cp /some/long/path/$i .
>>        > done
>
>  Oh, and BTW:
>
>       for i in /some/long/path/*
>
>makes a lot more sense.  :-)

It was a brief example so I didn't have to type too much.  I usually 
do things like:

        for i in `ls -lrt /some/long/path | grep 'Nov 25' | awk '{print `$9'
        do
          some stuff here
        done.

>  If someone is that clueless, I doubt they will have the ability to create
>the alias in the first place.

Go to any large Unix-based engineering environment and you'll find 
loads of people who all pass around their .cshrc files and don't have 
one clue what 99% of what's in them does or where it comes from.

>  Aliases are not the problem.  The problem is aliasing commands *for
>someone else*.  If I alias 'ls' to 'rm -rf .', then that is my own business,
>and presumably I have a reason.  It is things like Unix and Linux distro
>vendors setting up "default" aliases which gets people into trouble.  I
>think that is a bad idea, for all the reasons Paul brings up, and wish
>vendors would not engage in the practice.
>
>  Is that what you are trying to say?  :-)

Yeah, but it's so much shorter to say:

        I don't like aliases, don't use them! :)

>> People in general never comment them ...
>
>  I comment mine.  :-) 

You're not "People in general..." :)  As a matter of fact, you're not 
even "People in private" ;)

> And, in fact, for the same reason we are having this
>conversation.  People sometimes find useful things in others' aliases; I
>want them to know what is going on, not just copy a set of magic runes.

Well Ben, as Derek and I have said more times than I can count:

        If more people were like us, this world would be a much 
        better place!

Of course, we'd all be bored, since we'd then have nothing to bitch 
about :)

>> You wouldn't catch a carpenter who didn't know all the ins and outs of
>> his skill or miter saw ...
>
>You also won't find a carpenter who insists on using hand tools for
>building a house when power tools make the job ten times faster.  :-)

Damn!  No wonder my house still isn't finished ;)


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to