From b46298cf262e0e64a6f74a37d3e925b24971a323 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 12 Feb 2012 14:00:46 +0100 Subject: [PATCH] Add two awk scripts This is not very nice, as awk is always line-oriented, so we have to 'exit' in the BEGIN stanza. --- Makefile | 1 + awk/null.gawk | 2 ++ awk/null.mawk | 2 ++ 3 files changed, 5 insertions(+) create mode 100755 awk/null.gawk create mode 100755 awk/null.mawk diff --git a/Makefile b/Makefile index c40578a..742fca7 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ SCRIPTS = \ mksh/null.mksh mksh/null.mksh-static \ lua/null.lua51 lua/null.lua52 lua/null.luajit \ perl/null.pl \ + awk/null.mawk awk/null.gawk \ ruby/null.rb18 ruby/null.rb19 \ php/null.php php/null.php-n \ tcl/null.tcl84 tcl/null.tcl85 tcl/null.tcl86 \ diff --git a/awk/null.gawk b/awk/null.gawk new file mode 100755 index 0000000..b872cf4 --- /dev/null +++ b/awk/null.gawk @@ -0,0 +1,2 @@ +#!/usr/bin/gawk -f +BEGIN { exit 0; } diff --git a/awk/null.mawk b/awk/null.mawk new file mode 100755 index 0000000..1b1a6a5 --- /dev/null +++ b/awk/null.mawk @@ -0,0 +1,2 @@ +#!/usr/bin/mawk -f +BEGIN { exit 0; } -- 2.39.5