-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
A:quoting-expansionIssues related to string quoting, interpolation, and expansion of variable or glob patternsIssues related to string quoting, interpolation, and expansion of variable or glob patterns
Milestone
Description
Describe the bug
When pass string to external command, escape sequence seems not working.
Here is a comment contains a extra usage example #6420 (comment), reported by @evelant
How to reproduce
^echo "\"abcd"- Nu gives us
\"abcd
Expected behavior
Nu should show "abcd rather than \"abcd
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.68.2 |
| branch | |
| commit_hash | d082124 |
| build_os | macos-x86_64 |
| build_target | x86_64-apple-darwin |
| rust_version | rustc 1.63.0 (4b91a6ea7 2022-08-08) |
| rust_channel | stable-x86_64-apple-darwin |
| cargo_version | cargo 1.63.0 (fd9c4297c 2022-07-01) |
| pkg_version | 0.68.2 |
| build_time | 2022-09-13 10:19:00 +08:00 |
| build_rust_channel | release |
| features | database, dataframe, default, trash, which, zip |
| installed_plugins |
It also happened on 0.67
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:quoting-expansionIssues related to string quoting, interpolation, and expansion of variable or glob patternsIssues related to string quoting, interpolation, and expansion of variable or glob patterns