Skip to content

Files

Latest commit

9eff53e · Jun 21, 2021

History

History

picosh

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 6, 2021
Jun 21, 2021
Apr 6, 2021

picosh

This is a tiny UNIX shell, implemented in C.

The shell supports:

  • Simple commands, i.e. vim, echo hello world etc.
  • Pipelines, i.e. ls | wc -l.
  • File redirection, i.e. echo hello > x and cat < x | grep hello.

However, it does not support:

  • >> append operator.
  • 2> or 2>&1 or anything more complex.
  • &, although that should be trivial to add.
  • Globs, variables, conditionals, loops, functions and it will never be a proper POSIX shell.

Use and explore at your own risk.