Bonjour Benoit,
Unsurprisingly, I can also reproduce this bug with the fr_CA.UTF-8 locale.
Is your fix more complicated then this?
-if [ `${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ {print $3}'` -ne 0 ]; then
+if [ `LANG=C ${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ {print $3}'` -ne 0 ]; then
Francois
--
Francois Marier identi.ca/fmarier
http://fmarier.org twitter.com/fmarier