|
From: | Paul Jarc |
Subject: | Re: Double-quoting of commandline args (problem if $1 as a string of more than 1 char) |
Date: | Sat, 02 Apr 2005 16:49:03 -0500 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
root wheel <rootwheel@yahoo.com> wrote: > echo "$10" Use "${10}". man bash: When a positional parameter consisting of more than a single digit is expanded, it must be enclosed in braces (see EXPANSION below). paul
[Prev in Thread] | Current Thread | [Next in Thread] |