help-bash
[Top][All Lists]
Advanced

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

Re: backslash difference between ` and $(


From: microsuxxor
Subject: Re: backslash difference between ` and $(
Date: Wed, 25 Dec 2024 22:31:57 +0100

just didnt know the backslashes dont  work the same way thing
..
rip `

On Wed, Dec 25, 2024, 10:25 PM Greg Wooledge <greg@wooledge.org> wrote:

> On Wed, Dec 25, 2024 at 22:04:56 +0100, microsuxxor wrote:
> > if i replace the $( for ` , the \\1 gets ,\1
>
> Is there a question in there somewhere?  Backticks are deprecated for
> a couple reasons, one of them being that backslashes work in a surprising
> way inside them.
>
> The answer is "stop using backticks".  Or at least, that's the answer
> to some of the possible questions you might be thinking, but forgot
> to ask.
>
>


reply via email to

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