Skip to content

Instantly share code, notes, and snippets.

@trevorturk
Created August 6, 2009 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trevorturk/163574 to your computer and use it in GitHub Desktop.
Save trevorturk/163574 to your computer and use it in GitHub Desktop.
package :push_text_test do
config_file = '~/push_text_test'
config_text <<-EOF
'/hello\'
EOF
push_text config_text, config_file
end
...then if I ssh in and view the contents of the file:
root@...:~# cat push_text_test
/hello
...when I would expect:
root@...:~# cat push_text_test
'/hello\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment