An open API service indexing awesome lists of open source software.

https://github.com/maneeshwije/mash

maneesh's shell
https://github.com/maneeshwije/mash

c shell

Last synced: about 2 months ago
JSON representation

maneesh's shell

Awesome Lists containing this project

README

          

# mash (maneesh's shell)

- A **very** limited and non-compliant subset of Bash that works on Linux, MacOS, and yes, Windows

# Building & Running

- Run `make -f Makefile.[Linux|Darwin]`
- On Windows, run `nmake -f Makefile.Windows`
- Run `./mash`
- Can add flags such as `-v` for verbose mode

# Implements

- Process Creation (Running sub-programs) (ls -la)
- Built-in Shell programs (cd, exit)
- Piping (ls -la | more)
- Variable Substitution (var=hello) (echo ${var})
- Background Processes (sleep 5 &)
- File Redirection (ls -la > files.txt)
- Filename Globbing on UNIX (ls \*.c)