[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] variable
vincent luyckx wrote:
>
> bon je sais que je viens avec une question tres simple qui va faire rire la
> moitié de l'assemblée .. mais je me lance tout de meme ..
> J'essaye désesperement de definir une variable dans un script sous bash.
> mais quand j'ecris
> ex_ppp = "`/sbin/ifconfig | grep ppp`"
> bash me repond
> ex_ppp: command not found
>
> j'ai beau dire au PC "ce n'est pas une commande c'est une variableuuu".. il
> n'entend rien :-)
> j'ai essayé "set ex_ppp = ... " mais ca ne va pas mieux ..
>
> Comment lui faire entendre raison ? :)
>
> Vincent
>
Fais attention à NE PAS mettre d'espace entre ex_ppp et = et
`/sbin/....`
car c'est cela qui pose probleme !
Bruno
--
First they ignore you...Second they laugh at you...
Then they fight you......And then you win!
(Ghandi)
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.