[clug] Pointless time-wasting bash questions

Alex Satrapa grail at goldweb.com.au
Fri Jun 26 03:06:38 MDT 2015


On 26 Jun 2015, at 16:15, Bob Edwards <Robert.Edwards at anu.edu.au> wrote:
> 
> Again, the quotes aren't actually doing anything here (except in the
> first instance above: you do need something to delimit the variable i
> from the "pm", but it could just as easily be Config$i"pm" etc.)

Just to prove that there is more than one way to do it, I prefer using Config${i}pm style. Then again, I learned Perl long before I learned any shell scripting.

Alex

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/linux/attachments/20150626/727946f8/attachment.pgp>


More information about the linux mailing list