Skip to content
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

README contains inaccuracy about single quotes #455

Open
jhartzell42 opened this issue Jan 11, 2022 · 0 comments
Open

README contains inaccuracy about single quotes #455

jhartzell42 opened this issue Jan 11, 2022 · 0 comments

Comments

@jhartzell42
Copy link

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. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant