xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/nors.sh (revision 74e12c43fe52f2c30f36e65a4d0fb0e8dfd7068a)
1#!/bin/bash
2
3if [[ -z "$AWK" ]]; then
4    printf '$AWK must be set\n' >&2
5    exit 1
6fi
7
8echo A B C D E | tr -d '\12\15' | $AWK '{ print $NF }' - nors.in
9