Hi.
=20
I would like to redirect printouts from module-commands to use in my own
commands or scripts. I.e. I would like a list of all loaded modules
stored in a file or piped to a command:
module -t list > my-modules
module -t list |module disp
=20
But for some reason, all the output is directed to the screen no matter
what I do. I've tried to set STDOUT/STDERR to a file, and I've tried
2>&1-notation but nothing works. I've even tried to use tee with no
luck.
=20
Any good advice?
=20
br /Ray
=20
----------------------------------------
Raymond Haugli - Working with CM & CC
ray...@ko... <mailto:ray...@ko...>=20
work: +47 3228 7495
mob: +47 9082 5962
=20
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MAILsweeper for the presence of computer viruses.
Best regards,
Kongsberg Gruppen
**********************************************************************
|