[mythtv-users] mythtv XMLTV wiki instructions

Greg Woods greg at gregandeva.net
Thu Jul 30 13:49:23 UTC 2020


On Wed, Jul 29, 2020 at 7:07 PM Mark Perkins <perkins1724 at hotmail.com>
wrote:

>
> Interesting. For me:
> bem echo \$HOME
>
> Is a different result to:
> bem echo $HOME
>
>
That is because, in the latter case, $HOME is expanded in your current
shell, before the command line is executed. When the $ is escaped, as in
the first example, then the "$HOME" is expanded  when the echo command is
actually executed, in a sudo subshell.

I would expect the second case to produce the same result as just doing
"echo $HOME".

--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200730/7ad051d3/attachment.htm>


More information about the mythtv-users mailing list