File: kotojel.awk

package info (click to toggle)
magyarispell 0.99.4-1.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,988 kB
  • ctags: 132
  • sloc: sh: 883; awk: 337; makefile: 240
file content (7 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#
# ktjeles toldalk mretnek g kapcsolval val megadsa
#
/-/ {
    for (i = length($0); substr($0, i, 1) != "-"; i-- );
    print $0 "/g" length($0) - i + 1;
}