This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 08/25/2017 10:00 AM, cyg Simple wrote: > 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. In fact, this behavior is POSIX-mandated, so that you can do things like: alias exec='exec ' and get alias expansion on 'foo' when you do 'exec foo' > Example: > > $ alias t1='echo abc' > $ alias t2='dev' > $ t1 t2 > abc t2 > > $ alias t1='echo abc ' > $ t1 t2 > abc def Doesn't quite match what you typed above (dev vs. def), but illustrates the point. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |