Created
April 17, 2019 23:33
-
-
Save samueldr/9da052fb105e942f9770918f66a41839 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):007:0> "#{["echo", "-ne", "a test\n"].shelljoin}" | |
=> "echo -ne a\\ test'\n'" | |
irb(main):008:0> `#{["echo", "-ne", "a test\n"].shelljoin}` | |
=> "a test\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment