blob: 32ab847cf523806eaabc50fe75effefafd067c75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{
lim = split ($0, line)
out = ""
if (lim > 0) {
i = 0
while (i < lim) {
i++
if (i % 2)
out = out sprintf("%s ", toupper(line[i]))
else
out = out sprintf("%s ", tolower(line[i]))
}
}
print out
}
|