BYTESWAP(1SP)

NAME
byteswap - swaps byte order of binary files

SYNOPSIS
<stdin> | byteswap [options] | <stdout>

DESCRIPTION
byteswap swaps bytes in binary files, reading either from the specified input file name (-f inputfile ) or from <stdin> and writes the result to either the specified output file (-o outputfile ) or to <stdout>

OPTIONS

-f input file name
    [stdin]

-o output file name
    [stdout]

-4 swap the order of 4 consequtive bytes

-h online help

EXAMPLES

    % cat nnet | byteswap -4 > nnet.bs

SEE ALSO

BUGS

AUTHORS
Center for Spoken Language Understanding
Department of Computer Science and Engineering
Oregon Graduate Institute of Science & Technology