mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 15:49:15 +00:00
Shell: Expand Juxtaposition of lists to list products
This commit makes `echo x(foo bar)` create an argv of `echo xfoo xbar`, essentially modeling brace expansions in some shells.
This commit is contained in:
parent
16def040af
commit
8e078cf4ab
Notes:
sideshowbarker
2024-07-19 05:09:21 +09:00
Author: https://github.com/alimpfard
Commit: 8e078cf4ab
Pull-request: https://github.com/SerenityOS/serenity/pull/2542
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
5 changed files with 119 additions and 68 deletions
|
@ -324,7 +324,7 @@ int Shell::run_command(const StringView& cmd)
|
|||
if (!command)
|
||||
return 0;
|
||||
|
||||
#ifdef SH_DEBUG
|
||||
#ifndef SH_DEBUG
|
||||
dbg() << "Command follows";
|
||||
command->dump(0);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue