% segyread tape=/dev/rmt0 verbose=1 endian=0 conv=0 | segyclean > data.suwill read the data. Note, that endian=0 is set to swap the bytes. (All of the bytes, header and data are in the swapped format.) On a little-endian machine, the procedure is
% segyread tape=/dev/rmt0 verbose=1 endian=1 conv=0 | segyclean > data.suwith endian=1, in this case preventing byteswapping.
In each case, if we had a diskfile with some `filename', we would use ``tape=filename.''