help-bash
[Top][All Lists]
Advanced

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

Re: backslash difference between ` and $(


From: Greg Wooledge
Subject: Re: backslash difference between ` and $(
Date: Wed, 25 Dec 2024 16:09:29 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

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]