From: Balint Reczey Subject: gensub is a gawk extension which does not work in mawk Bug-Debian: http://bugs.debian.org/757166 Forwarded: no --- a/bin/i2myspell +++ b/bin/i2myspell @@ -147,7 +147,7 @@ NR>1 {print ""} # morfológiai leírás előtt található egyenlőségjel törlése sed 's/^\[[^]]*\]// s/^\[[^]]*\]// -s/ =/ /' | awk 'BEGIN{FS="\t"}{a=gensub(/_/,"_","g",$1);print a substr($0,length(a)+1)}' >/tmp/i2my$$.1 +s/ =/ /' | gawk 'BEGIN{FS="\t"}{a=gensub(/_/,"_","g",$1);print a substr($0,length(a)+1)}' >/tmp/i2my$$.1 cat /tmp/i2my$$.1 | wc -l | tr -cd '0-9\n' cat /tmp/i2my$$.1