diff --git a/root/bin/__pycache__/echo.cpython-39.pyc b/root/bin/__pycache__/echo.cpython-39.pyc index 19c7bb5..3462d44 100644 Binary files a/root/bin/__pycache__/echo.cpython-39.pyc and b/root/bin/__pycache__/echo.cpython-39.pyc differ diff --git a/root/bin/echo.py b/root/bin/echo.py index ddd3e32..b8c7798 100644 --- a/root/bin/echo.py +++ b/root/bin/echo.py @@ -1,4 +1,4 @@ import sys -def echo(): - print(' '.join(sys.argv[1:])) +def echo(txt): + print(txt.join(sys.argv[1:])) diff --git a/root/shell.py b/root/shell.py index 63d8b38..b986bb7 100644 --- a/root/shell.py +++ b/root/shell.py @@ -64,8 +64,8 @@ def main(): mkdir() elif inp == "system": system() - elif inp == "echo ": - echo() + elif inp == "echo": + echo(txt) elif inp == "oscmd ": oscmd() else: