On Thu, Jul 09, 2009 at 02:36:27PM +0200, Abigail wrote: > $ grep 'foo bar' *.[ch] > $ display *.jpg > $ rm *.p[ml] > > Oh, sure, it *could* all be done based on actual content, but while > you're looking at the first file, I'm already done processing the > directory.
I guess it's theoretically possible for the shell itself to keep a mapping of (pseudo-)extentions to file types, and then do globbing based on those. with data/resource filesystems, I imagine it would be pretty straight-forward. as for Shot's preference for not seeing extentions on the desktop, it seems like the desktop could take care of that for you. windows does. > Now, go write a useful, non-trivial, Makefile that doesn't use > extensions. make is hate unto itself. the fact that none(?) have transform rules based on file content is just a bit of flaming icing. -- Aaron J. Grier | "Not your ordinary poofy goof." | agr...@poofygoof.com