blob: 0b0650e0a54957244a1df7e057448f5b2bdccc87 (
plain)
1
2
3
4
|
BEGIN { pattern = ARGV[1] + 0; delete ARGV }
pattern == 1 { sub(/[][:space:]]/,""); print }
pattern == 2 { sub(/[\][:space:]]/,""); print }
pattern == 3 { sub(/[^][:space:]]/,""); print }
|