summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/leadnl.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/leadnl.awk')
-rw-r--r--contrib/awk/test/leadnl.awk10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/awk/test/leadnl.awk b/contrib/awk/test/leadnl.awk
new file mode 100644
index 0000000..0b7d0a9
--- /dev/null
+++ b/contrib/awk/test/leadnl.awk
@@ -0,0 +1,10 @@
+BEGIN {
+ RS = ""; FS = "\n"
+}
+
+{
+ print "Name is: ", $1
+ print "Address is: ", $2
+ print "City and State are: ", $3
+ print ""
+}
OpenPOWER on IntegriCloud