Angus Leeming <[EMAIL PROTECTED]> writes: | On Friday 31 May 2002 11:10 am, Lars Gullik Bjønnes wrote: >> Btw. please explain to me why ${FDFILE} is used instead of $FDFILE >> >> It is not very usual. > | Not this again. You prefer one and the whole rest of the world prefers the | other. Ask Andre.
Andre is not the whole world. I read a lot of shell scripts and this contruct is not often used. (it is often used, but almost never for plain variables) shellfiles are list of all the shell scripts in /usr/bin egrep "^" `cat /tmp/shellfiles` | wc 35935 155976 1298750 egrep "\\\$" `cat /tmp/shellfiles` | wc 10850 65073 540283 egrep "\\\$\{[^}]*\}" `cat /tmp/shellfiles` | wc 861 4799 49498 egrep "\\\$\{[^-}]*\}" `cat /tmp/shellfiles` | wc 699 4215 41043 egrep "\\\$[a-zA-Z].*" `cat /tmp/shellfiles` | wc 8613 53039 443958 -- Lgb