From: cyg Simple <cygsimple@gmail.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Aliases - I learned something new
Date: Fri, 25 Aug 2017 15:00:00 -0000 [thread overview]
Message-ID: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde@gmail.com> (raw)
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
next reply other threads:[~2017-08-25 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 15:00 cyg Simple [this message]
2017-08-25 15:20 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6bf0908e-f559-b5bb-5ca3-b1cac1b9abde@gmail.com \
--to=cygsimple@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).