|
From: | Grisha Levit |
Subject: | Re: Bug? Explanation?? |
Date: | Fri, 30 Dec 2016 23:07:34 -0500 |
On Fri, Dec 30, 2016 at 11:03 PM, PePa <peterkelly@passchier.net> wrote:
r=23; echo $r; echo -e "r=bc\necho $r" |bash
You need to escape the $
in the second echo statement so that $r
is not evaluated to 23
before being echoed.
[Prev in Thread] | Current Thread | [Next in Thread] |