Skip site navigation (1)Skip section navigation (2)
Date:      25 Sep 2001 18:26:10 -0700
From:      swear@blarg.net (Gary W. Swearingen)
To:        Bill Schoolcraft <bill@wiliweld.com>
Cc:        Ceri <ceri@techsupport.co.uk>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Shell argument limits at $9 ??
Message-ID:  <tqhetqvj2l.etq@localhost.localdomain>
In-Reply-To: <Pine.GSO.4.33.0109251045080.18238-100000@corten8.billschoolcraft.com>
References:  <Pine.GSO.4.33.0109251045080.18238-100000@corten8.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Schoolcraft <bill@wiliweld.com> writes:

> At Tue, 25 Sep 2001 it looks like Ceri composed:
> ceri->
> ceri->echo ${10}
> ceri->
> 
> Jeez, you made that look easy.

You might even consider always using ${} for ALL variable substitution.

It's a little harder to type but easier to search for (fewer mis-finds,
esp. with small names) and reduces incentive to follow tradition of
using all caps for envars.  It's debatable whether it's easier or harder
to read, but more lower and mixed case probably helps readablity.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tqhetqvj2l.etq>