txt-from-texi: fixed use of awk 'match' function to be portable
commit5293a5ae416dff5facff952ef41494e772ff14ff
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 31 Jan 2015 17:43:55 +0000 (31 18:43 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 31 Jan 2015 17:58:46 +0000 (31 17:58 +0000)
tree911c069f610254ab66aa65daa93eed6e61098974
parentd9996e6e934b4537f30a300889303d0406d5d9b3
txt-from-texi: fixed use of awk 'match' function to be portable

As reported by Doug Torrance, the 3rd argument to the 'match' function is
actually a GNU extension, so it breaks compatibility when run with another
version of awk, for instance mawk.

This script changes the code to stuck to the 2 arguments version which is
posix.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
script/generate-txt-from-texi.sh