diff options
Diffstat (limited to 'local/src/doc/bswap.hlp')
-rwxr-xr-x | local/src/doc/bswap.hlp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/local/src/doc/bswap.hlp b/local/src/doc/bswap.hlp new file mode 100755 index 00000000..779105de --- /dev/null +++ b/local/src/doc/bswap.hlp @@ -0,0 +1,36 @@ +.help bswap Mar89 local +.ih +NAME +bswap - swap the bytes in a file +.ih +USAGE +bswap input output +.ih +PARAMETERS +.ls input +The file to be swapped. +.le +.ls output +The name of the output swapped file. +.le +.ls wordswap = no +Swap four-byte longwords rather than pairs of bytes. +.le +.ih +DESCRIPTION +The \fIbswap\fR task reads the input file as a binary file, +writing the result to the output file. +Successive byte pairs are interchanged if \fIwordswap\fR=no, +otherwise the four bytes within each successive longword are swapped. +.ih +EXAMPLES +1. Byte swap file A, writing the result to file B. + + cl> bswap a b +.ih +BUGS +The input and output files cannot be the same. +.ih +SEE ALSO +dataio.reblock +.endhelp |