On Mon, Aug 17, 2020 at 3:53 PM Steven McBride wrote:
> 'echo "$(<\"filename\")"' fails with No such file or directory
>
Quotes inside $() are independent from the ones outside. If you escape
them, you get literal quotes as part of the filename.
$ echo hello > '"filename"'
$ echo
On 17/08/2020 04:03, Steven McBride wrote:
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale'