[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] redirection stupids
- Subject: [ale] redirection stupids
- From: jim.kinney at gmail.com (Jim Kinney)
- Date: Mon, 19 Oct 2009 11:44:22 -0400
I'm trying to collect the output from time to a file. For an unknown
reason I have managed to not do the simple redirection process right.
time psql <input.sql >outputfromsql 2>timeoutfile
timeoutfile is created but empty.
according to man 1 time the output is to stderr which _should_still_ be 2.
time 2>timeoutfile psql <input.sql >outputfromsql
does the same thing.
--
--
James P. Kinney III
Actively in pursuit of Life, Liberty and Happiness