summaryrefslogtreecommitdiff
path: root/bugs-fixed/split-fs-from-array.awk
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-02 04:23:56 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-02 04:23:56 +0000
commit03ee4d05f1d963d60451e04ce505e4da116300db (patch)
tree9dcabc6cffafcb6b8195148feb519d575b0bf6ac /bugs-fixed/split-fs-from-array.awk
parent3a4488f93f2dc8fe9de757a418b74aa0aa4f9ed1 (diff)
Notes
Diffstat (limited to 'bugs-fixed/split-fs-from-array.awk')
-rw-r--r--bugs-fixed/split-fs-from-array.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/bugs-fixed/split-fs-from-array.awk b/bugs-fixed/split-fs-from-array.awk
new file mode 100644
index 000000000000..fce1607c2a97
--- /dev/null
+++ b/bugs-fixed/split-fs-from-array.awk
@@ -0,0 +1,5 @@
+BEGIN {
+ a[1] = "elephantie"
+ a[2] = "e"
+ print split(a[1],a,a[2]), a[2], a[3], split(a[2],a,a[2])
+}