I'm running a BASH shell in RHE4 and can't get any of the time command's arguments (the man page calls them "options") to work. All of the options that I've tried giving it (except -p), however, are being treated by BASH as separate commands.
Example:
Code:
time -o filename date
generates the error message:
Code:
-bash: -o: command not found
The same thing happens with the long version:
Code:
time --output filename date
Per the man page, I'm using the right syntax.
time, without any options, runs just fine.
Has anyone else experienced similar problems? Am I misreading how it's supposed to work?
If it really is goofed up, is there another way to redirect the output? (It normally goes to standard error.)
Thanks!