Re: set -x output of test operator is irretating

2008-07-31 Thread Francis Litterio
Jan Schampera wrote: > Bob Proulx wrote: >> Chet Ramey wrote: ... >>> Because the ==/!=/= operators are defined to match the rhs as a pattern >>> unless it's quoted. You quoted the original string, and the `set -x' >>> output is supposed to be re-usable as input, so the trace output is >>> quoted

Re: time command

2008-06-23 Thread Francis Litterio
Eric Blake wrote: > According to Yu Cha Yung on 6/23/2008 12:24 AM: > |time ls > time.txt > |It doesnt show the information of time in time.txt. > > That's because in bash, time is a reserved word, and because time's output > goes to stderr, not stdout. [...] > \time ls >time.txt 2>&1 O