[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux] bash et variables
echo LFS > $LFSHOME/.bash_profile
cat >> $LFSHOME/.bash_profile << "EOF"
umask 022
LC_ALL=POSIX
export LFS LC_ALL
EOF
Ca marchera mieux :-)
A+,
D.
On Wed, 24 Apr 2002 09:22:35 +0200
Fabian Vilers <fabian.v@speos.be> wrote:
> Bonjour, belle journée n'est ce pas? :-)
>
> mon soucis du jour:
>
> un script:
>
> >--------------------------------------------------<
>
> LFSHOME=/home/lfs
> LFS=/mnt/lfs
>
> cat > $LFSHOME/.bash_profile << "EOF"
> umask 022
> LFS=$LFS
> LC_ALL=POSIX
> export LFS LC_ALL
> EOF
>
> >--------------------------------------------------<
>
> apres exécution, je retrouve dans le fichier LFS=$LFS alors qque
j'aimerais
> qu'il ecrive la valeur de la variable... j'ai essayé avec `$LFS` mais
meme
> résultat...
>
> Merci d'avance
>
> ______________________________
> Fabian Vilers
> Electronic Document Developper
> Direct phone : +32 2 558 02 39
> www.speos.be
>
_______________________________________________
Linux Mailing List
LCP - 11 Mai - http://www.unixtech.be/lcp.php
Archives: http://www.unixtech.be/mailman/listinfo/linux