Thread: sacswap.c

Started: 2006-03-02 16:35:55
Last activity: 2006-03-02 16:35:55
Topics: SAC Developers
Brian Savage
2006-03-02 16:35:55

When moving the source code to CVS, the utility sacswap became lost in
the shuffle. From Arthur's urging I found an older version before CVS,
fixed it up and added a bit more documentation. The source file is
attached. It depends on nothing so compiling is as easy as:
cc -o sacswap sacswap.c

I was hoping to place this into the utils directory.

Comments welcome.

% sacswap
Usage: sacswap sacfile(s)
convert sacfiles between byte orders
output files are appended with .swap
will read either byte order

Cheers,
Brian

Attachments
11:00:51 v.b1cd4f60