On 11/7/23 14:38, to...@tuxteam.de wrote:
On Tue, Nov 07, 2023 at 11:32:21AM -0500, gene heskett wrote:
Greetings all;
[...]
gene@coyote:~$ locate *.scad
/home/gene/vac_ctrl_box.scad
/home/gene/xhome_cable.scad
Markus and The Wanderer were spot on.
As a reminder to all: this "naked" *.scad gets already expanded
by the shell (try "echo *.scad"), so what locate gets to see is
an already expanded list of all files ending in .scad in whatever
directory you happen to be, most probably:
locate vac_ctrl_box.scad xhome_cable.scad
... because these are most probably the only two files matching
that glob pattern living in your home directory (where you happen
to be, if your prompt ain't lying to us).
Shell is handy, but shell is nasty at times.
And its regex needs housebroke much of the time. ;o)>
Cheers
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis