banan-os/userspace/programs/Shell
Bananymous c1978f9133 Shell: Implement redirections
This works well enough. At the moment redirections can appear anywhere
in the command **after** environment variables and possible alias
command. This means commands like `>foo echo hello` are not supported.
I don't think this is big enough problem for now (99% time redirections
are given after arguments) that i would rewrite the environment and
alias parsing.
2025-07-22 16:54:06 +03:00
..
Alias.cpp Shell: rewrite the whole shell to use tokens instead of raw strings 2024-10-13 22:00:16 +03:00
Alias.h Shell: rewrite the whole shell to use tokens instead of raw strings 2024-10-13 22:00:16 +03:00
Builtin.cpp Shell: Cleanup `export` builtin 2025-04-19 21:23:26 +03:00
Builtin.h Shell: rewrite the whole shell to use tokens instead of raw strings 2024-10-13 22:00:16 +03:00
CMakeLists.txt Shell: rewrite the whole shell to use tokens instead of raw strings 2024-10-13 22:00:16 +03:00
CommandTypes.cpp Shell: Cleanup code by defining argument types as nested types 2024-10-15 23:44:06 +03:00
CommandTypes.h Shell: Implement redirections 2025-07-22 16:54:06 +03:00
Execute.cpp Shell: Implement redirections 2025-07-22 16:54:06 +03:00
Execute.h Shell: Implement redirections 2025-07-22 16:54:06 +03:00
Input.cpp Shell: Get default backspace key from c_cc[VERASE] 2025-06-02 15:55:20 +03:00
Input.h Shell: Get default backspace key from c_cc[VERASE] 2025-06-02 15:55:20 +03:00
Lexer.cpp Shell: Implement redirections 2025-07-22 16:54:06 +03:00
Lexer.h Shell: rewrite the whole shell to use tokens instead of raw strings 2024-10-13 22:00:16 +03:00
Token.cpp Shell: Implement redirections 2025-07-22 16:54:06 +03:00
Token.h Shell: Implement redirections 2025-07-22 16:54:06 +03:00
TokenParser.cpp Shell: Implement redirections 2025-07-22 16:54:06 +03:00
TokenParser.h Shell: Implement redirections 2025-07-22 16:54:06 +03:00
main.cpp LibC/Shell: set PWD env in Shell, not libc 2025-04-19 21:16:11 +03:00