using echo 'text' > file (to add to last line of several documents)

Matt Graham danceswithcrows at usa.net
Wed Oct 27 12:30:49 MST 2010


From: Eric Shubert <ejs at shubes.net>
> 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






More information about the PLUG-discuss mailing list