[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd bash behaviour with time:
From: |
Piotr Grzybowski |
Subject: |
Re: Odd bash behaviour with time: |
Date: |
Fri, 31 Oct 2014 23:00:22 +0100 |
Hi,
it is actually built-in time that you run:
help time
if you want to run time from /usr/bin:
/usr/bin/time
cheers,
pg
On Fri, Oct 31, 2014 at 7:01 PM, <bugs@m8y.org> wrote:
> $ time;
>
> real 0m0.000s
> user 0m0.000s
> sys 0m0.000s
> $ time;ls
> bash: syntax error near unexpected token `ls'
> $ /usr/bin/time;/bin/ls Usage: /usr/bin/time [-apvV] [-f format] [-o file]
> [--append] [--verbose]
> [--portability] [--format=format] [--output=file] [--version]
> [--quiet] [--help] command [arg...]
>
> It's the 2nd one that surprises me.
> Why would time; succeed but time;anything fail ?
>
>
> --
> ----------------------------------------
> Free Mickey!
> http://randomfoo.net/oscon/2002/lessig/
> http://www.law.duke.edu/cspd/comics/zoomcomic.html
> My key: http://m8y.org/keys.html
>
- Odd bash behaviour with time:, bugs, 2014/10/31
- Re: Odd bash behaviour with time:,
Piotr Grzybowski <=
- Re: Odd bash behaviour with time:, Eduardo A . Bustamante López, 2014/10/31
- Re: Odd bash behaviour with time:, Piotr Grzybowski, 2014/10/31
- Re: Odd bash behaviour with time:, Eduardo A . Bustamante López, 2014/10/31
- Re: Odd bash behaviour with time:, jon, 2014/10/31
- Re: Odd bash behaviour with time:, Piotr Grzybowski, 2014/10/31
- Re: Odd bash behaviour with time:, Eduardo A . Bustamante López, 2014/10/31
- Re: Odd bash behaviour with time:, jon, 2014/10/31
- Re: Odd bash behaviour with time:, Ryan Cunningham, 2014/10/31
- Re: Odd bash behaviour with time:, Ryan Cunningham, 2014/10/31
- Re: Odd bash behaviour with time:, Eduardo A . Bustamante López, 2014/10/31