John Doty wrote: >> locate -i lm317 | grep .sym >> >> should give the same result, with less consume of resources. >> Indeed "| grep .sym" should be obsolete here. > > Close, but grep treats the "." as a wildcard,
I'd locate the symbols like this: locate *lm317*.sym If there is no wildcard character in the search pattern, locate assumes "*" before and after the pattern. If there is an explicit wildcard character somewhere in the pattern, then no additional "*" are assumed. So the results of the search above are guaranteed to end with ".sym". ---<)kaimartin(>--- -- Kai-Martin Knaak Email: k...@familieknaak.de Öffentlicher PGP-Schlüssel: http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user