aboutsummaryrefslogtreecommitdiffstats
path: root/incdec.pl.m4
diff options
context:
space:
mode:
authorTeddy Wing2021-08-23 21:20:15 +0200
committerTeddy Wing2021-08-23 21:20:15 +0200
commit6a82a96ff11f755b50eb0df79617035074c381fa (patch)
tree120d5096e1ab3aba74cefb82019d451a86f470f1 /incdec.pl.m4
parent326a01a6bd43cb50b29ed49f9f08c6cbb6ff3be3 (diff)
downloadreadline-incdec-6a82a96ff11f755b50eb0df79617035074c381fa.tar.bz2
Build final Perl program from `incdec.pm`
Build an intermediary Perl file that includes the extra lines that call `incdec()`. This whole file should be included in the final Bash function `perl -e` call.
Diffstat (limited to 'incdec.pl.m4')
-rw-r--r--incdec.pl.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/incdec.pl.m4 b/incdec.pl.m4
new file mode 100644
index 0000000..03fb905
--- /dev/null
+++ b/incdec.pl.m4
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+
+include(`incdec.sub.pl')dnl
+
+my $output = incdec($line, $increment_by, $point_position, $backward);
+print $output;