delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/08/25/11:01:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=ezo
VRLsWh5KzprMSo+aquczyzF9zwpehOigtcXGvUFbUQjBcXwIlFzG6EsuU1UzHFkU
AP34zPWT4EzmND7A54qJZIjOx3PEgJ0pOBMdNIDkAtEmj8Ergmx3m8lrMQiD2Xik
5LmRuLAQAox7CY3jVdkw8EkOQDTCoxGu6QQLKiFg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=LRhui91em
vjLlB/HRrC1pv73lGE=; b=G7f6/ucYBGO2sAPyAHdqztoq4xN1M1kfvjiNe7jro
ZLvvYJqGgHZL9aHPTQ+wHme0x9YO6EEyYUCG/FS8UYPFNFnnUNLLCwpxt8AABri1
nFt3LtOBw2mnJ8fbZqnhMyTxVsc2YKveH5p4ZJr8Eroyrhd4bvmC0D59cIkfzEM0
2Q=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=love, learning, research, HContent-Transfer-Encoding:8bit
X-HELO: mail-io0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=wIsyerz8zx3JYor2iArRQA8E0AEXXyq+HEoEVK9vpHE=; b=sFv9EFonza5LicEMVrrdIIAvaBlYQONoVyJeZemzOXaYC7gamnuWzhQpPfU4/P+uri J5Tx04Ob/2PX4U8ejHyrB3LQeWkiHpg4qSuuuHREt4tCmu4rQJ1HfgArNLDUHHO0obR2 r7Oy3HRQYtYx/JXdtO2Gw/V0CfFV6t4qJr0nfqVAJ+JCTp2ozppndFa1X5lnx97el0U0 yZQOHoX6rCp85XimDUFZRHA4KX7jYHMcLL9fZgNF6O1znNE5Oej6P9QL8DAV573x5gRm 0qEohmrdMjLV5UHZMYjC7M5leS6k7gplX01yoWvHDW1YIAFv//mltmQtIembW+hXXq8P fMmg==
X-Gm-Message-State: AHYfb5gZhXA4Q2VxIQ/Oo0w7xyXfuA+FEgBsQRtzJpdJZAmcUqz12PwK VOvwcYYmkqt+MuDK
X-Received: by 10.107.160.130 with SMTP id j124mr8476696ioe.229.1503673200787; Fri, 25 Aug 2017 08:00:00 -0700 (PDT)
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
From: cyg Simple <cygsimple AT gmail DOT com>
Subject: Aliases - I learned something new
Message-ID: <6bf0908e-f559-b5bb-5ca3-b1cac1b9abde@gmail.com>
Date: Fri, 25 Aug 2017 11:00:00 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019