9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bug or a feature?
Date: Wed, 12 Jun 2002 20:29:19 -0600	[thread overview]
Message-ID: <200206130229.g5D2TJJZ005791@orthanc.ab.ca> (raw)
In-Reply-To: Your message of "Wed, 12 Jun 2002 16:49:21 PDT." <4109a95286b1ab5e60c5fff7b21cfa01@collyer.net>

>>>>> "Geoff" == Geoff Collyer <geoff@collyer.net> writes:

    Geoff> I do think that the current behaviour is more helpful than
    Geoff> expanding to a null list would be.  If the pattern doesn't
    Geoff> match, you've very likely made a mistake.  I'd rather have
    Geoff> ``cat ?akefile'' print

    Geoff> 	cat: can't open ?akefile: '?akefile' directory entry not
    Geoff> found

    Geoff> and exit than have it just sit there reading standard input.

But shell globbing is a shell function, therefore the shell should
report non-matches. If you want the application to do the globbing (the
ls and tar examples) you should quote the arguments to protect them from
shell globbing. Or set noglob in the shells that support it.  The fact
that noglob exists says to me that the no-match pass-through globbing
behaviour has been found to be problematic in the past.

--lyndon


  parent reply	other threads:[~2002-06-13  2:29 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 23:49 Geoff Collyer
2002-06-13  0:07 ` Dan Cross
2002-06-13  0:31 ` Pavel Mihaylov
2002-06-13  2:29 ` Lyndon Nerenberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-27 20:30 Byron Rakitzis
2002-07-27 12:10 presotto
2002-07-27  2:43 Byron Rakitzis
2002-06-13 23:05 Russ Cox
2002-06-13 23:23 ` Dan Cross
2002-06-13 20:35 Russ Cox
2002-06-13 20:58 ` Dan Cross
2002-06-13 21:34   ` Tharaneedharan Vilwanathan
2002-06-13  3:41 Russ Cox
2002-06-13  1:01 Russ Cox
2002-06-13 17:40 ` Dan Cross
     [not found] <dmr@plan9.bell-labs.com>
2002-06-12 19:57 ` Dennis Ritchie
2002-06-12 20:16   ` Scott Schwartz
2002-06-12 19:52 andrey mirtchovski
2002-06-12 21:57 ` Dan Cross
2002-06-12 22:53   ` Lyndon Nerenberg
2002-06-14  8:45     ` Douglas A. Gwyn
2002-06-14 16:23       ` Lyndon Nerenberg
2002-06-12  9:15 forsyth
2002-06-13  9:29 ` Douglas A. Gwyn
2002-06-11 15:32 Russ Cox
2002-06-11 15:29 rob pike, esq.
2002-06-11 21:05 ` andrey mirtchovski
2002-06-11 21:19   ` Ronald G Minnich
2002-06-12  5:17     ` Lucio De Re
2002-06-12  8:53 ` Douglas A. Gwyn
2002-06-11 15:26 andrey mirtchovski
2002-06-11 15:14 andrey mirtchovski

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=200206130229.g5D2TJJZ005791@orthanc.ab.ca \
    --to=lyndon@orthanc.ab.ca \
    --cc=9fans@cse.psu.edu \
    /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 NNTP newsgroup(s).