/* Extract arbitrary intervalls of EBS files Copyright (C) 1993/94 Markus Kuhn, Institut fuer Physiologie und Biokybernetik (IPB), Universitaet Erlangen, Deutschland Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and related publications and that both that copyright notice and this permission notice appear in supporting documentation. The authors make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Send your comments, suggestions or bug reports to ftpebs@uni-erlangen.de Or mail to Institut fuer Physiologie und Biokybernetik Markus Prosch Universitaetsstrasse 17 D-91054 Erlangen Germany $Id: ebscut.c,v 1.11 1994/03/01 11:08:31 msprosch Exp $ */ #include #include #include #include #include "ebs.h" #ifndef SEEK_CUR #define SEEK_CUR 1 #endif #ifdef MSDOS #include "setstack.c" #endif char copyright[]= "Extract arbitrary intervalls of EBS files\n" "Copyright (C) 1993/94 Markus Kuhn, Institut fuer Physiologie und\n" " Biokybernetik (IPB), Universitaet Erlangen, Deutschland\n\n" "Permission to use, copy, modify, distribute, and sell this software\n" "and its documentation for any purpose is hereby granted without fee,\n" "provided that the above copyright notice appear in all copies and\n" "related publications and that both that copyright notice and this\n" "permission notice appear in supporting documentation. The authors make\n" "no representations about the suitability of this software for any\n" "purpose. It is provided \"as is\" without express or implied warranty.\n\n" "Send your comments, suggestions or bug reports to\n" " ftpebs@uni-erlangen.de\n\n" "Or mail to\n" " Institut fuer Physiologie und Biokybernetik\n" " Markus Prosch\n" " Universitaetsstrasse 17\n" " D-91054 Erlangen\n" " Germany\n\n"; const char usage[] = "Extract arbitrary intervalls of EBS files, V0.2\n" "(C) 1993/94, Markus Kuhn, IPB, Erlangen\n\n" "usage: %s [-a] ( | -s)\n" " { (- | )}\n\n" "options:\n" "\t-c print out copyright notice\n" "\t-h print out this message\n" "\t-a output is a single column ASCII list of numbers\n" "\t-s the result is sent to standard output\n\n" "\t and may be entered as s or\n" "\t t