Re: [PATCH] Allow qualified filename (bar/foo) PATH searching.

Rhialto <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Tue 01 Oct 2024 at 11:54:02 -0400, Mouse wrote:
> > You can just change in the shell, but in this case, calling an
> > utility dealing with utilities (nice, nohup, timeout, xargs...) you
> > can't use the feature since then the command name is an argument,
> > unless you add ad hoc knowledge in the shell about which commands to
> > treat specifically for arguments being command names.

That reminds me of env, another utility dealing with utilities. It is
often used for explicit PATH searching, especially when used in a #!
line. So one could put this special searching variant just in env,
perhaps.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEFVAhiiWjqgwBVdQAmYnGRWHD+9MFAmb8JSQACgkQmYnGRWHD
+9OwTAf/SiEY12qIwcRXCmur9n3Zug0wVWM0XAFfnG7T+Zqp2VN70Y9vt23EoQQW
mzy6FnQuaezqGmrKDzRP6ciWkqnd5vaja8F/0beNuslENggZLcQTw3Ekb2+h2I4C
JW6rQ4NbJjNDLVxhgfquCruBqCqtpWd1jRK86jUjoBRMq5732BExxpZj+hb+Jz9d
iD09UK5pWsaST5aDuxjOVv2Jzh2lDNOnt310g6pZiBAmzJZJSnmspRHZRnoVd/9X
eeWBJryH4oCFi76Eda0wCN/IU+IdOQ7aoBJ0U4GCa5iC0EPsRO+5/akf86K0CDtI
fxS9731/sXohdjfPEGeff4MsTqK+Xg==
=OUiR
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.