awk/testdir/t.re4
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

11 lines
205 B
Plaintext

BEGIN { r1 = "xxx"
r2 = "xxx" ":"
r3 = ":" r2
r4 = "a"
}
$0 ~ r1 { print $0 " matches " r1 }
$0 ~ r2 { print $0 " matches " r2 }
$0 ~ r3 { print $0 " matches " r3 }
$0 ~ r4 { print $0 " matches " r4 }