annotate man/man1/swab.1 @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
rev   line source
tomwalters@0 1 .TH SWAB 1 "14 September 1993"
tomwalters@0 2
tomwalters@0 3 .SH NAME
tomwalters@0 4 swab \- Swap byte order of binary 2-byte data.
tomwalters@0 5
tomwalters@0 6 .SH SYNTAX
tomwalters@0 7 swab [options] [files]
tomwalters@0 8
tomwalters@0 9 .SH DESCRIPTION
tomwalters@0 10
tomwalters@0 11 For each input file in turn,
tomwalters@0 12 read and write binary shorts (2-bytes), swapping the byte order of each.
tomwalters@0 13 With no filename arguments, data is expected on the stdin.
tomwalters@0 14
tomwalters@0 15 .SH OPTIONS
tomwalters@0 16
tomwalters@0 17 output.
tomwalters@0 18
tomwalters@0 19 The `output' option specifies the name of a single output file to be the
tomwalters@0 20 destination for swapped data from all input files.
tomwalters@0 21 The name "stdout" is recognised as the standard output.
tomwalters@0 22 When the "output=off" the output overwrites each respective input file.
tomwalters@0 23 (The respective output for the stdin is the stdout).
tomwalters@0 24
tomwalters@0 25 .SH COPYRIGHT
tomwalters@0 26 .LP
tomwalters@0 27 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
tomwalters@0 28 .LP
tomwalters@0 29 Permission to use, copy, modify, and distribute this software without fee
tomwalters@0 30 is hereby granted for research purposes, provided that this copyright
tomwalters@0 31 notice appears in all copies and in all supporting documentation, and that
tomwalters@0 32 the software is not redistributed for any fee (except for a nominal
tomwalters@0 33 shipping charge). Anyone wanting to incorporate all or part of this
tomwalters@0 34 software in a commercial product must obtain a license from the Medical
tomwalters@0 35 Research Council.
tomwalters@0 36 .LP
tomwalters@0 37 The MRC makes no representations about the suitability of this
tomwalters@0 38 software for any purpose. It is provided "as is" without express or
tomwalters@0 39 implied warranty.
tomwalters@0 40 .LP
tomwalters@0 41 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
tomwalters@0 42 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
tomwalters@0 43 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
tomwalters@0 44 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
tomwalters@0 45 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
tomwalters@0 46 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
tomwalters@0 47 SOFTWARE.
tomwalters@0 48