summaryrefslogtreecommitdiff
path: root/solenv/bin/fix_def_ord.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/fix_def_ord.cmd')
-rw-r--r--solenv/bin/fix_def_ord.cmd19
1 files changed, 19 insertions, 0 deletions
diff --git a/solenv/bin/fix_def_ord.cmd b/solenv/bin/fix_def_ord.cmd
new file mode 100644
index 000000000000..eaeb666626db
--- /dev/null
+++ b/solenv/bin/fix_def_ord.cmd
@@ -0,0 +1,19 @@
+/* os2 build scripts
+
+this script is used to process def results.
+Adds ordinal number to every line.
+
+*/
+
+lmax = 0
+smax = ''
+
+ord = 1
+do while( lines())
+
+ l = linein()
+ IF LENGTH(l)>0 THEN DO
+ say l /* ' @'ord ' RESIDENTNAME' */
+ ord = ord + 1
+ END
+end