Okay,
This:
gettext_ver=`$GETTEXTIZE --version | \
sed '2,$d; # remove all but the first line
s/.* //; # take text after the last space
s/-.*//; # strip "-pre" or "-rc" at the end
s/\([^.]\+\)/0\1/g; # prepend 0 to every token
s/0\([^.][^.]\)/\1/g; # trim 0 from long lokens
s/\.//g; # remove dots
'`
Seems to not work correctly on
This:
www# gettextize --version
/usr/local/bin/gettextize (GNU gettext) 0.11.5
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by Ulrich Drepper