Aliases no longer defined?
Igor Pechtchanski
pechtcha@cs.nyu.edu
Tue Apr 1 01:14:00 GMT 2003
On Mon, 31 Mar 2003, Rolf Campbell wrote:
> Igor Pechtchanski wrote:
> > P.S. On an unrelated note, the use of shell functions is recommended over
> > the use of aliases.
>
> Why is that?
This is according to the information on the bash info page:
For almost every purpose, shell functions are preferred over aliases.
The section on aliases preceding that phrase lists the limitations of the
alias mechanism. FWIW, the bash man page contains a similar sentiment.
I should have clarified, however, that the above P.S. only refers to bash.
Aliases are still very much alive and used in csh and other shells.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list