allenap / shell-quote

A Rust library for shell quoting strings, e.g. for interpolating into a Bash script. This is not as simple as most people think!
Apache License 2.0
5 stars 2 forks source link

Document differences between Bash and sh #10

Open Cretezy opened 3 months ago

Cretezy commented 3 months ago

From what I can tell reading each modules, Bash supports more escape sequences (and NUL strings). Is that the only different between the two?

It would be great to have a line or two in the project's README to describe the differences between the two, to nudge developers to use the right module for their use case.