Web lists-archives.com

Aliases - I learned something new

In the research for my responses to the alias issue I learned something
I didn't know. Not a big deal but I thought I would share.

If the value of an alias ends in a space the word following the issuance
of the alias command is also checked for alias expansion.  Example:

$ alias t1='echo abc'
$ alias t2='dev'
$ t1 t2
abc t2

$ alias t1='echo abc '
$ t1 t2
abc def

cyg Simple

P.S. I love learning new things, it just proves my wife's assumption
that I don't know everything. ;p

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple