From 2e870a0305607e71f3a1b02823e9f01eee05127f Mon Sep 17 00:00:00 2001 From: Steffen Jensen Date: Wed, 13 Oct 2021 17:59:08 +0000 Subject: Trim ascii files --- ASCII-Trim.cxx | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 ASCII-Trim.cxx diff --git a/ASCII-Trim.cxx b/ASCII-Trim.cxx new file mode 100644 index 0000000..ea5a2c0 --- /dev/null +++ b/ASCII-Trim.cxx @@ -0,0 +1,106 @@ +#include +#include "CXX:Classes/FileInfoX.cxx" + +char* ver = "$VER:ASCII-Trim v2.23\n"; +char* title = &ver[5]; +char* usage = "USAGE: ASCII-Trim INFILE/A,OUTFILE/A"; +char* err_file="FILE ERROR\n\n"; + +int main(int argc, char** argv) +{ + if (argc != 3) {cout<