blob: f51b8272e8c5b03681907dbd29f717270a4cccd7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# Crude approach to get alphabetic words one per line from input, not sorted or
# deduplicated
BEGIN {
RS = "(--|['_-]?[^[:alnum:]'_-]+['_-]?)"
}
{
for (i = 1; i <= NF; i++)
if ($i ~ /[[:alpha:]]/)
print $i
}
|