1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 18:52:17 +00:00
serenity/Shell
Andreas Kling ed90d39cd7 Shell: Allow empty tokens if enclosed in single or double quotes
Previously the shell parser would discard empty tokens. We now allow
them when they are enclosed in quotes (either '' or "")

This means that a command like _echo ""_ will actually pass an empty
string to /bin/echo in argv[1] now.
2020-01-25 12:16:45 +01:00
..
GlobalState.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
LineEditor.cpp Shell: Don't crash when stdout is not a TTY 2020-01-19 13:52:44 +01:00
LineEditor.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
main.cpp Shell: Disable SH_DEBUG by default and tidy up command timing logging 2020-01-21 16:22:31 +01:00
Makefile Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
Parser.cpp Shell: Allow empty tokens if enclosed in single or double quotes 2020-01-25 12:16:45 +01:00
Parser.h Shell: Allow empty tokens if enclosed in single or double quotes 2020-01-25 12:16:45 +01:00