Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [3.0.5] pattern ^*.tif gives non-existing file



On Jun 13,  9:06pm, Sven Guckes wrote:
} Subject: [3.0.5] pattern ^*.tif gives non-existing file
}
} I wanted to quickly see all non-TIFF files in the TIFF dir.
} So I thought the file pattern must be  "^*.tif".  But see:
} 
} 	$ cd pics/tiff
} 	$ ls ^*.tif
} 	doku04.tif      doku04b.tif
} 
} Now, both these files certainly do end in ".tif".  Huh?
} But now the scary part:  doku04.tif does not exist!

Try "echo ^*.tif".  I suspect you'll find that what gets echo'd is the
name of a directory, and that in that directory are the two files above.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author