On Mon, 2011-05-02 at 14:08 -0600, John Doty wrote: > On May 2, 2011, at 1:58 PM, Stefan Salewski wrote: > > > On Mon, 2011-05-02 at 13:49 -0600, John Doty wrote: > > > >> > >> locate .sym | grep -i lm317 > >> > > > > 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, so the results include a > couple of things that aren't symbols.
Thanks -- I should never forget that most people on this list are really smart :-) (There may exist boxes without installed locate program, so it may be necessary to install a package like mlocate or slocate.) _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user