ladybird/Userland/Shell
Andrew Kaster 170a7e263c Userland: Fail Core::find_executable_in_path on empty inputs
Before this patch, `which ""` or `type ""` would say that the empty
string is `/usr/local/bin/`.

Convert callers to consistently call is_empty() on the returned string
while we're at it, to support eventually removing the is_null() String
state in the future.
2022-01-04 07:38:42 +00:00
..
Tests Shell: Remove sigpipe.sh.out artefact after failure 2021-12-13 16:20:29 +03:30
AST.cpp Shell: Make the Join operation respect nodes that have a next chain 2021-12-13 16:26:10 +03:30
AST.h AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
Builtin.cpp Userland: Fail Core::find_executable_in_path on empty inputs 2022-01-04 07:38:42 +00:00
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Execution.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Formatter.cpp Shell: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Formatter.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Forward.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
ImmediateFunctions.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Job.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Job.h Shell: Hide job times behind SHELL_JOB_DEBUG flag 2021-05-21 12:05:34 +04:30
main.cpp Shell: Remove dbgln related to process group IDs 2021-08-12 22:42:50 +02:00
NodeVisitor.cpp Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
NodeVisitor.h Shell: Add support for heredocs 2021-04-29 20:25:56 +02:00
Parser.cpp Shell: Don't skip over the first brace expansion entry if it's empty 2021-12-16 03:26:59 +03:30
Parser.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Shell.cpp Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
Shell.h Shell: Make redirection errors raise ShellErrors 2021-12-31 02:19:45 +03:30
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30