glob: bug fixes and Tcl compatibility
commit9907054f8324beadc0c55b21bf95cb1a16bd8402
authorSteve Bennett <steveb@workware.net.au>
Fri, 28 Nov 2014 03:18:49 +0000 (28 13:18 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 28 Nov 2014 05:37:58 +0000 (28 15:37 +1000)
treea117aadc9f5573cab391bc454abdc5d40cec3bf4
parent4a1c716c9db7f4348513168febc1ea1266bf4b3a
glob: bug fixes and Tcl compatibility

Fix the case where the pattern/filename contains a space
Respect the â€”tails option, but generate an error if -types is given.
Change the error message on no match to be Tcl-compatible

Signed-off-by: Steve Bennett <steveb@workware.net.au>
glob.tcl
tests/glob.test