Re: [PATCH] when using `which` send errors to /dev/null
On 2007-05-24 08:44:10 +0100, Luciano Rocha wrote:
> On Thu, May 24, 2007 at 07:57:45AM +0100, David Laight wrote:
> > Also, since the redirection of {...} will enforce a subshell (at least
> > on some shells), requesting it explicitly by using (...) is better.
>
> But then, the var assignment will be lost.
If { ... } enforces a subshell on some shells, this will also be the
case with { ... }.
> > Also a conformat posix shell should have a 'type' command, and 'command -v'
> > which are builtins that report the location of programs.
>
> tcsh has shipped in Fedora Core 6 doesn't support any of those two
> commands.
tcsh is not a POSIX shell.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)