next up previous 405
Next: Obtaining dataset attributes
Up: Dealing with Files
Previous: Reading from dynamic text files


Discarding text output

The output from some routines is often unwanted in scripts. In these cases redirect the standard output to a null file.

     correlate in1=frame1 in2=frame2 out=framec > /dev/null
Here the text output from the task correlate is disposed of to the /dev/null file. Messages from Starlink tasks and usually Fortran channel 6 write to standard output.



next up previous 405
Next: Obtaining dataset attributes
Up: Dealing with Files
Previous: Reading from dynamic text files

C-shell Cookbook
Starlink Cookbook 4
Malcolm J. Currie
2006 November 26
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council