Variable substitition

Maarten Litmaath maart at cs.vu.nl
Fri Dec 7 05:25:04 AEST 1990


In article <7370019 at hp-lsd.COS.HP.COM>,
	jimr at hp-lsd.COS.HP.COM (Jim Rogers) writes:
)...
)for ksh, to ensure the ability to read arguments past $9:
)
)	eval last=\${${#}}

...just like in POSIX-compatible shells.
BTW, the braces around the `#' are unnecessary.
--
In the Bourne shell syntax tabs and spaces are equivalent almost everywhere.
The exception: here documents.  :-(
Does anyone remember the famous mistake Makefile-novices often make?



More information about the Comp.unix.questions mailing list