-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use read command instead of regular variable assignment #17
Comments
Briefly experimented with using
It is this line:
|
An alternative is to use this trick by @alphapapa as suggested here. |
Found it on StackOverflow. Works really well! :) |
@alphapapa Looks like you need to escape just the |
I'm not completely sure what you're referring to, but if you mean what I think you do, then yes, I think that's right. :) |
Right, the backquote is a metacharacter, even inside quoted strings and heredocs. I forget about that, because I always use If I were to rewrite the code at that URL, I would probably use |
This would allow the use of back-quotes and single quotes (and everything in general) without needing to use escapes for constructing the whole emacs config blob.
Reference: http://crowding.github.io/blog/2014/08/16/replace-less-with-emacs/
The text was updated successfully, but these errors were encountered: