delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/04/13:08:19

X-Spam-Check-By: sourceware.org
Message-ID: <20061004170806.40757.qmail@web90315.mail.mud.yahoo.com>
Date: Wed, 4 Oct 2006 10:08:05 -0700 (PDT)
From: Andy Telford <blaahmailing AT yahoo DOT ca>
Subject: Re: bash shell globbing not working anymore
To: cygwin mailing list <cygwin AT cygwin DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k94H8GDE021022

Nope. The directory was not empty, so * should have been expanded by the shell according to the bash "pathname expansion" rules.  I included the SHELLOPTS variable in the first email to show that noglob is not set.

$ mkdir newdir
$ cd newdir
$ touch newfile
$ ls
newfile
$ ls *
ls: *: No such file or directory
$ type ls
ls is hashed (/usr/bin/ls)





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


- Raw text -


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