Skip to content

Dook97/mysh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple UNIX shell

========================================================

Requires flex and bison to build. The GNU Readline
library is required at runtime as well as compile time.

Supports:
  * modes: interactive, file and -c option
  * cd and exit builtins
  * !, && and || operators
  * standard redirections
      -> 2>/dev/null, 2>&1, <&-, <>myfile, etc
      -> << and <<- aren't supported (yet)
  * pipes
      -> echo I hate UNIX | sed s/hate/❤️/ | cowsay

               _____________
              < I ❤️ UNIX >
               -------------
                      \   ^__^
                       \  (oo)\_______
                          (__)\       )\/\
                              ||----w |
                              ||     ||

Doesn't support:
  * basically everything else :p

Just to make sure: DO NOT ACTUALLY USE THIS. This is a
project for me to learn about UNIX systems programming.
Creating a usable shell is a non-goal.

========================================================

Author: Jan Doskočil