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

Tests for carriage return and newline handling for all shells #26

Closed allenap closed 2 months ago

allenap commented 2 months ago

Fixes #19. Turns out that newlines are already escaped for Bash and fish, so this only adds explicit tests.