Re: Feature Request: Custom delimeter for single quotes

2019-10-31 Thread Patrick Blesi
I just came across: Example 19-8 Here: http://tldp.org/LDP/abs/html/here-docs.html It looks like this example meets my needs. I'm curious why this method is referred to as devious though? -- Patrick On Thu, Oct 31, 2019 at 11:54 PM Patrick Blesi wrote: > I'm looking for a h

Feature Request: Custom delimeter for single quotes

2019-10-31 Thread Patrick Blesi
I'm looking for a hybrid between single quotes and a here doc or here string. The main use case is for accepting arbitrary user-specified text. I would like to wrap this text in single quotes so as to prevent any variable expansion or interpretation of the text of any kind. Additionally, I would l

Re: Feature Request: Custom delimeter for single quotes

2019-11-01 Thread Patrick Blesi
equired. The non-valid input for the command would be MAGIC_WORD. Do you know if this command is POSIX compliant/supported by a large number of shells? Is is supported by the bourne shell? On Fri, Nov 1, 2019 at 3:37 AM Ilkka Virta wrote: > On 1.11. 06:54, Patrick Blesi wrote: > > I'

Re: Feature Request: Custom delimeter for single quotes

2019-11-02 Thread Patrick Blesi
/utilities/xcu_chap02.html#tag_02_07_04, but it appears that the quoted here-doc and command substitution are shell features defined by the POSIX standard. Thank you very much for your help. -- Patrick On Fri, Nov 1, 2019 at 3:44 PM Eli Schwartz wrote: > On 11/1/19 3:57 PM, Patrick Blesi w

Re: Feature Request: Custom delimeter for single quotes

2019-11-02 Thread Patrick Blesi
ld be implemented at the OS level (file permissions, etc.). Thank you for your help. -- Patrick On Fri, Nov 1, 2019 at 3:57 PM Andreas Schwab wrote: > On Nov 01 2019, Patrick Blesi wrote: > > > The actual use case is taking a command from a Ruby script: > > > > > https://g