On Mon, Feb 14, 2011 at 3:31 AM, David Julio wrote:
...
> Index: which.c
> ===
> RCS file: /cvs/src/usr.bin/which/which.c,v
> retrieving revision 1.16
> diff -u -r1.16 which.c
> --- which.c 31 May 2010 14:01:49 - 1.16
> +
On 3/1/11, Jason McIntyre wrote:
> On Mon, Feb 14, 2011 at 11:31:18AM +, David Julio wrote:
>> Is the exit status of which(1)/whereis(1) correct?
>
> is any developer interested in looking at this?
I like the diff and will commit it in 24hrs if no objects.
I'll note that the description of t
On Mon, Feb 14, 2011 at 11:31:18AM +, David Julio wrote:
> Is the exit status of which(1)/whereis(1) correct?
>
is any developer interested in looking at this?
jmc
> $ which a b c
> which: a: Command not found
> which: b: Command not found
> which: c: Command not found
>
> $ echo $?
> 2
>
On Tue, Feb 15, 2011 at 5:30 PM, Jason McIntyre wrote:
> On Mon, Feb 14, 2011 at 11:31:18AM +, David Julio wrote:
>> Is the exit status of which(1)/whereis(1) correct?
>>
>> $ which a b c
>> which: a: Command not found
>> which: b: Command not found
>> which: c: Command not found
>>
>> $ echo
On Tue, Feb 15, 2011 at 05:30:11PM +, Jason McIntyre wrote:
> On Mon, Feb 14, 2011 at 11:31:18AM +, David Julio wrote:
> > Is the exit status of which(1)/whereis(1) correct?
> >
> > $ which a b c
> > which: a: Command not found
> > which: b: Command not found
> > which: c: Command not foun
On Mon, Feb 14, 2011 at 11:31:18AM +, David Julio wrote:
> Is the exit status of which(1)/whereis(1) correct?
>
> $ which a b c
> which: a: Command not found
> which: b: Command not found
> which: c: Command not found
>
> $ echo $?
> 2
>
> $ which -a a b c
> which: a: Command not found
> whi
Is the exit status of which(1)/whereis(1) correct?
$ which a b c
which: a: Command not found
which: b: Command not found
which: c: Command not found
$ echo $?
2
$ which -a a b c
which: a: Command not found
which: b: Command not found
which: c: Command not found
$ echo $?
1
If it is incorrect,