aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dict/t.awk
blob: e722a3cc1f314f41c6343d68789b2792e2597078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
NF == 2	{
		if($2 !~ / or / || $2 ~ /\(or/)
			print $0
		else {
			n = split($2, a, / or /)
			for(i = 1; i <= n; i++) {
				printf "%s\t%s\n", $1, a[i]
			}
		}
	}
NF != 2 {
	print $0
	}