AnotherTest
fc7a06af9d
Shell: Consider numbers as word characters too
...
Otherwise `foobar2` wouldn't be a valid identifier
2021-01-19 08:19:43 +01:00
AnotherTest
8cfda86a45
Shell: Actually return the exit code of the file when running a file
2021-01-19 08:19:43 +01:00
AnotherTest
cd6e5c064b
Shell: Add a builtin that parses its sole argument and dumps its AST
...
Pretty useful for debugging.
2021-01-19 08:19:43 +01:00
AnotherTest
5b79d0d1a3
Shell: Allow newlines between else
and if
's closing brace
...
This is more flexible and intuitive. Fixes #4992 .
2021-01-18 08:56:34 +01:00
Nick Vella
fdc9b3c5a0
Shell: use exit code 127 on command not found
2021-01-16 09:05:01 +01:00
Nick Vella
1d11b62ca4
Shell: return the exit code of a '-c' command execution
2021-01-16 09:05:01 +01:00
AnotherTest
c1b4e86004
Shell: Add formatter for history events
2021-01-15 19:13:03 +01:00
AnotherTest
239472ba69
Shell: Add (basic) support for history event designators
...
Closes #4888
2021-01-15 19:13:03 +01:00
Andreas Kling
1a08ac72ad
LibC+Everywhere: Remove open_with_path_length() in favor of open()
...
This API was a mostly gratuitous deviation from POSIX that gave up some
portability in exchange for avoiding the occasional strlen().
I don't think that was actually achieving anything valuable, so let's
just chill out and have the same open() API as everyone else. :^)
2021-01-12 23:34:01 +01:00
AnotherTest
a90905c54c
Shell: Use lstat instead of access to check if glob target exists
...
Fixes #4905
2021-01-12 16:23:26 +01:00
Andreas Kling
c4e2fd8123
Shell: Move to Userland/Shell/
2021-01-12 12:04:07 +01:00