sferik / t-ruby

A command-line power tool for Twitter.
http://sferik.github.com/t
MIT License
5.43k stars 410 forks source link

README contains inaccuracy about single quotes #455

Open jhartzell42 opened 2 years ago

jhartzell42 commented 2 years ago

Your README indicates that ' within single quotes should be escaped. This is bad shell advice: \ does not work as an escape character within single quotes:

[jim@palatinate:~/racepoint/serde_dbus]$ echo 'can\'t'
> ^C

No escape is possible. To effect something like escape, you must close the single quotes, issue an escaped single quote, and return:

[jim@palatinate:~/racepoint/serde_dbus]$ echo 'can'\''t'
can't

I don't know how you want to reframe the README. :-)