On Wednesday 22 July 2009 07:46:58 RaptorX wrote:
> the following commands work fine:
>
> time ls
>
> time "ls"
>
> time 'ls'
>
> this one doesnt:
>
> time {ls}
>
> time { ls }
>
>
> so do we really have to enclose in brackets?

http://tldp.org/LDP/abs/html/functions.html

time { ls; }

The first space is required, I believe the last one is just for formatting.


Quote:
To achieve this easily, wrap the three commands in a time command like this: 
time { ./configure ... && make && make install; }. Everything's there ;).
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to