Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coac/mishell
Another Unix shell in C
https://github.com/coac/mishell
c pipes scheme-language shell signal unix
Last synced: 6 days ago
JSON representation
Another Unix shell in C
- Host: GitHub
- URL: https://github.com/coac/mishell
- Owner: Coac
- License: gpl-3.0
- Created: 2017-01-26T11:04:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T15:35:53.000Z (almost 8 years ago)
- Last Synced: 2024-12-03T11:09:58.635Z (2 months ago)
- Topics: c, pipes, scheme-language, shell, signal, unix
- Language: C
- Homepage:
- Size: 701 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mishell ⚡
Mishell is an Unix shell.
## Installation
```
cd build
cmake ..
make
```## Usage
Launch the shell using the following command in the `build` folder:
```
./mishell
```## Built-in commands
In addition to your system binaries, you can also run the following built-in commands:
### `jobs` prints the background jobs
Example:
```
mishell ⚡ sleep 10 &
sleep 10 mishell ⚡
mishell ⚡ jobs
Job list :
10904 sleep 10 alive
mishell ⚡
mishell ⚡ Terminated child : 10904
```### `(scheme expr)` executes the `scheme expr` using a [Scheme](https://en.wikipedia.org/wiki/Scheme_%28programming_language%29) interpreter
Example:
```
mishell ⚡ (display "Hello world!\n")
Hello world!
mishell ⚡
```## Implemented variants
- Asynchronous termination
- Chained pipes