/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* This file is distributed subject to a Software License Agreement found
* in the file LICENSE that is included with this distribution.
\*************************************************************************/
/*
$Log: sddscliptails.c,v $
Revision 1.6 2006/12/14 22:21:57 soliday
Updated a bunch of programs because SDDS_SaveLayout is now called by
SDDS_WriteLayout and it is no longer required to be called directly.
Also the AutoCheckMode is turned off by default now so I removed calls to
SDDS_SetAutoCheckMode that would attempt to turn it off. It is now up to
the programmer to turn it on in new programs until debugging is completed
and then remove the call to SDDS_SetAutoCheckMode.
Revision 1.5 2005/11/04 22:46:12 soliday
Updated code to be compiled by a 64 bit processor.
Revision 1.4 2003/09/02 19:16:03 soliday
Cleaned up code for Linux.
Revision 1.3 2002/08/14 17:12:41 soliday
Added Open License
Revision 1.2 2002/02/08 23:30:53 borland
Now allows the absolute limit to be 0.
Revision 1.1 2001/04/30 22:55:23 borland
Added sddscliptails and sddsbaseline to toolkit.
*/
#include "mdb.h"
#include "scan.h"
#include "SDDS.h"
#define CLO_FRACTIONAL 0
#define CLO_ABSOLUTE 1
#define CLO_FWHM 2
#define CLO_PIPE 3
#define CLO_COLUMNS 4
#define CLO_AFTERZERO 5
#define CLO_OPTIONS 6
static char *option[CLO_OPTIONS] = {
"fractional", "absolute", "fwhm", "pipe", "columns", "afterzero",
} ;
char *USAGE = "sddscliptails [] [