aboutsummaryrefslogtreecommitdiff
path: root/countrows.ds
diff options
context:
space:
mode:
Diffstat (limited to 'countrows.ds')
-rw-r--r--countrows.ds8
1 files changed, 8 insertions, 0 deletions
diff --git a/countrows.ds b/countrows.ds
new file mode 100644
index 0000000..1d2aa66
--- /dev/null
+++ b/countrows.ds
@@ -0,0 +1,8 @@
+#define DOCSTRING "\n\
+\n\
+ Reads a polyhedron file on stdin, counts the rows, and outputs \n\
+ an equivalent file with a corrected row count.\n\
+"
+
+int usage(){ fprintf(stderr,"\n%s\n",rcsid);fprintf(stderr,DOCSTRING); exit(1); }
+#define CHECK_HELP if (argc > 1 && argv[1][0]=='-' && argv[1][1]=='h') usage();