[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed with Variable Substitution in the command
From: |
alex xmb sw ratchev |
Subject: |
Re: sed with Variable Substitution in the command |
Date: |
Fri, 27 Sep 2024 09:05:47 +0200 |
u talk in bash , or posix mode ? or awk ?
set {1..13}
echo $11
11
bash
On Thu, Sep 26, 2024 at 7:16 PM Greg Wooledge <greg@wooledge.org> wrote:
>
> On Thu, Sep 26, 2024 at 18:53:59 +0200, alex xmb sw ratchev wrote:
> > On Thursday, September 26, 2024, Wiley Young <wyeth2485@gmail.com>
wrote:
> > > "${1}"
> > > "$1" is okay
> > > "${11}"
> > > "$11" is an error
>
> > sorry .. where is $11 and error ?
>
> $11 would be equivalent to ${1}1 which is not what's intended.
- Re: sed with Variable Substitution in the command, (continued)
- Re: sed with Variable Substitution in the command, Wiley Young, 2024/09/26
- Re: sed with Variable Substitution in the command,
alex xmb sw ratchev <=
- Re: sed with Variable Substitution in the command, Andreas Kähäri, 2024/09/27
- Re: sed with Variable Substitution in the command, alex xmb sw ratchev, 2024/09/27
- Re: sed with Variable Substitution in the command, Andreas Kähäri, 2024/09/27
- Re: sed with Variable Substitution in the command, Greg Wooledge, 2024/09/27
- Re: sed with Variable Substitution in the command, alex xmb sw ratchev, 2024/09/27
- Re: sed with Variable Substitution in the command, alex xmb sw ratchev, 2024/09/27