From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001
From: Joseph Hunkeler <jhunkeler@gmail.com>
Date: Wed, 8 Jul 2015 20:46:52 -0400
Subject: Initial commit

---
 local/src/doc/bswap.hlp | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100755 local/src/doc/bswap.hlp

(limited to 'local/src/doc/bswap.hlp')

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
-- 
cgit 

