bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double-quoting of commandline args (problem if $1 as a string of mor


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]