[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Glob returns a value when no match occurs
From: |
Chet Ramey |
Subject: |
Re: Glob returns a value when no match occurs |
Date: |
Mon, 13 Jan 2003 16:22:17 -0500 |
> Looks like the glob "arr=(*.txt)" is actually returning the string
> "*.txt" when no match occurs.
This is the standard filename expansion behavior, unless the
`nullglob' shell option is set.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/