Re: using echo 'text' > file (to add to last line of several…

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Matt Graham
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: Re: using echo 'text' > file (to add to last line of several documents)
From: Eric Shubert <>
> I always take the later route, using scripts in favor of aliases. I
> never really liked using aliases. I don't like changing the behavior of
> commands that already exist, as that tends to break other things.


"Alias" is sort of a misnomer since you can create a new syntactic sugar-like
command instead of changing the behavior of an existing one. I've had these
in my .bashrc for over 10 years now:

alias ..='cd ..'
alias ...='cd ../..'

....and I don't believe you can write a script named ".." without a lot of
fooling around....

--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see




---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss