[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "times" ?!
From: |
Patrick Welche |
Subject: |
Re: "times" ?! |
Date: |
Wed, 15 Aug 2001 12:05:04 +0100 |
User-agent: |
Mutt/1.3.19i |
On Wed, Aug 15, 2001 at 12:18:20PM +0200, Akim Demaille wrote:
>
> | Yes - I don't have "times" anywhere.. It does say ! /bin/sh at the top
> | of testsuite afterall, not some other shell. eg. of output from testsuite:
> |
> | 1: tools.at:47 times: not found
> | FAILED near `tools.at:83'
>
> Thanks!
>
> What is your platform? How does
>
> :; times >at-times 2>/dev/null; echo $?
>
> behave?
>
> how does Tim's proposal work?
>
> at_times=:
> times >dev/null 2>&1 && at_times=times
> $times >at-times
> echo $?
quartz% cat foo.sh
#! /bin/sh
:; times >at-times 2>/dev/null; echo $?
at_times=:
times >dev/null 2>&1 && at_times=times
$times >at-times
echo $?
quartz% sh foo.sh
times: not found
127
times: not found
0
quartz% uname -rms
NetBSD 1.5X i386
Cheers,
Patrick
- "times" ?!, Patrick Welche, 2001/08/13
- Re: "times" ?!, Tim Van Holder, 2001/08/13
- Re: "times" ?!, Earnie Boyd, 2001/08/14
- Re: "times" ?!, Akim Demaille, 2001/08/15
- Re: "times" ?!, Patrick Welche, 2001/08/15
- Re: "times" ?!, Akim Demaille, 2001/08/15
- Re: "times" ?!,
Patrick Welche <=
- Re: "times" ?!, Akim Demaille, 2001/08/15
- Re: "times" ?!, Patrick Welche, 2001/08/15
- Re: "times" ?!, Tim Van Holder, 2001/08/15
- Re: "times" ?!, Akim Demaille, 2001/08/15
- Re: "times" ?!, Tim Van Holder, 2001/08/15
- Re: "times" ?!, Akim Demaille, 2001/08/15
- Re: "times" ?!, Tim Van Holder, 2001/08/15
- Re: "times" ?!, Akim Demaille, 2001/08/17
- Re: "times" ?!, Patrick Welche, 2001/08/15
- Re: "times" ?!, Tim Van Holder, 2001/08/15