summaryrefslogtreecommitdiff
path: root/scripts/awk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-29 18:43:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-29 18:43:00 +0100
commit7a545ad720f1f8823d6e3dd0e51e1fa9dff237b1 (patch)
tree16083a85aca4e3a621b3db881c89331262d62045 /scripts/awk
parent7805532fffa81c46a01af77aa967cf11a948a9f1 (diff)
parentc6fa1f863aedbdbc977c78e1dc62ca5eb0da9451 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/awk')
-rwxr-xr-xscripts/awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/awk b/scripts/awk
new file mode 100755
index 000000000..ff6f9b002
--- /dev/null
+++ b/scripts/awk
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+if [ -z "$(which gawk 2>/dev/null)" ];then
+ /bin/awk "$@"
+else
+ gawk "$@"
+fi