nushell/tests/shell/pipeline/commands
Wind 5d163c1bcc
run_external: remove inner quotes once nushell gets = sign (#13073)
# Description
Fixes: #13066

nushell should remove argument values' inner quote once it gets `=`.
Whatever it's a flag or not, and it also replace from `\"` to `"` before
passing it to external commands.

# User-Facing Changes
Given the shell script:
```shell
# test.sh
echo $@
```
## Before
```
>  sh test.sh -ldflags="-s -w" github.com
-ldflags="-s -w" github.com
> sh test.sh exp='-s -w' github.com
exp='-s -w' github.com
```
## After
```
>  sh test.sh -ldflags="-s -w" github.com
-ldflags=-s -w github.com
> sh test.sh exp='-s -w' github.com
exp=-s -w github.com
```

# Tests + Formatting
Added some tests
2024-06-06 11:03:34 +08:00
..
external.rs run_external: remove inner quotes once nushell gets = sign (#13073) 2024-06-06 11:03:34 +08:00
internal.rs fix do closure with both required, options, and rest args (#13002) 2024-05-30 08:29:46 -05:00
mod.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00