[Tcsh] Backticks can be nested; remove from BUGS

M G P tateusg at hotmail.com
Sun Nov 27 00:01:13 UTC 2022


echo "`echo "\"'`echo "\"'\''`echo "\`"pwd"\`"`'\''\""`'\""`"
Finally made four nests. This nesting style is ridiculous, but does work.


________________________________
From: Tcsh <tcsh-bounces at astron.com> on behalf of M G P <tateusg at hotmail.com>
Sent: Saturday, November 26, 2022 2:33:49 PM
To: tcsh at astron.com <tcsh at astron.com>
Subject: Re: [Tcsh] Backticks can be nested; remove from BUGS

echo "`echo "\"'`echo "\`"pwd"\`"`'\""`"
For three nests, this works. This is very complicated.

I'm still investigating further.

________________________________
From: Tcsh <tcsh-bounces at astron.com> on behalf of M G P <tateusg at hotmail.com>
Sent: Thursday, November 24, 2022 11:09:57 PM
To: tcsh at astron.com <tcsh at astron.com>
Subject: Re: [Tcsh] Backticks can be nested; remove from BUGS

echo "`{echo,"'`pwd`'"}`"
This works too, but still no luck for multiple nesting.


________________________________
From: M G P <tateusg at hotmail.com>
Sent: Monday, August 15, 2022 5:39:46 PM
To: tcsh at astron.com <tcsh at astron.com>
Subject: Re: Backticks can be nested; remove from BUGS

Apparently, this nesting style is very different. I can't seem to find a way to nest three or more commands, but this works: echo "`echo "\`"pwd"\`"`"

Either there's no way to do so or I'm failing to understand.


________________________________
From: Tcsh <tcsh-bounces at astron.com> on behalf of M G P <tateusg at hotmail.com>
Sent: Sunday, August 14, 2022 12:49:06 AM
To: tcsh at astron.com <tcsh at astron.com>
Subject: [Tcsh] Backticks can be nested; remove from BUGS

https://github.com/tcsh-org/tcsh/pull/50


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20221127/35d98e0d/attachment.htm>


More information about the Tcsh mailing list