.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