> - comment est ce que je fais pour prendre un variable (qui contient "JE
>   DEVIENS FOU") et la transforme ("Je deviens fou").

LINE="JE DEVIENS FOU"
FIRST=`echo $LINE | cut -c1`
LOWER=`echo $LINE | cut -c2- | tr "[:upper:]" "[:lower:]"`
LINE="$FIRST$LOWER"

@++
JC

--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question.

Répondre à