On Tue 10 May 2016 at 13:16:27 (+0000), Mark Fletcher wrote: > On Tue, May 10, 2016 at 9:20 PM <to...@tuxteam.de> wrote: > > If you are embedding longer scripts in your shell, consider using > > "here documents", which are more flexible wrt. embedded quotes. > > For one-liners, Thomas' solution works nicely. > > > Except that it does what the OP clearly said he does NOT want to do -- it > uses double quotes.
It appears to me that the OP included that condition in order to persuade us that: (a) a new quoting mechanism is needed for building perl strings in shell: https://lists.debian.org/debian-user/2016/05/msg00403.html and (b) an old quoting mechanism should be changed: https://lists.debian.org/debian-user/2016/05/msg00388.html You can call me cynical if you wish. Cheers, David.