|
|
|
|
C'st bizarre que ça ne marche pas : [jp@Mandrake tmpfs]$ echo $PWD /home/jp/tmpfs [jp@Mandrake tmpfs]$ PRJHOME=`echo $PWD | cut -d / -f 2` [jp@Mandrake tmpfs]$ echo $PRJHOME home [jp@Mandrake tmpfs]$C'est quoi ton shell ? Sinon pour définir une variable et la rendre accessible il faut l'exporter : export variable=valeur ou variable=valeur export variable Z'@+...che. JP : Zen, my Nuggets ! ;-) Le savoir n'est bon que s'il est partagé. |
Salut,
|