Pipes '|' support

- cd without arguments moves to $HOME
- updated README
This commit is contained in:
Aleksandr Lebedev 2026-02-19 21:02:40 +01:00
parent afbcaac1ae
commit 86ecaef72d
2 changed files with 239 additions and 56 deletions

View file

@ -2,11 +2,13 @@
#+options: toc:nil
Simple shell for Unix-like systems written in C, that has a funny name (for germans).
* Features
- Can run one command at a given time (no | , &&, ||, functions, etc)
- ~cd~ builtin command
- Can run commands
- You can pipe stdout of one command to stdin of another (ex. ~cat main.c | wc --lines~)
- ~cd~ builtin command (~cd~ without arguments moves you to ~$HOME~)
- ~exit~ builtin command
- ~CTRL+C~ stops running command
- Custom ~readline~ function
- Run scripts with ~arsh /path/to/script~ or by putting ~#!/usr/bin/env arsh~ at the first line of a script and making it executable.
* Build
To build it, you don't need any external dependencies. Example with ~gcc~:
#+begin_src shell