-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use single quotes to export variables.
That way, we only need to escape single quotes, nothing else. Single quotes cannot be escaped using baslash, as that is treated literally inside single quotes. I.e. to get a literal single quotes, we have to break out of the single quotes and escape it outside. "Simple". So "it's cool" becomes 'it'\''s cool,i', Treated by the shell as the concatenation of "it", "'", and "s cool". See e.g. https://stackoverflow.com/a/1315213.
- Loading branch information
Martin Sander
committed
Oct 13, 2017
1 parent
c912545
commit 3b2132b
Showing
3 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
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
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
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