Coder Social home page Coder Social logo

robkle / 21sh Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.44 MB

Unix command interpreter with line edition and command history, and that handles redirections, pipes, quotes and more.

C 95.82% Makefile 4.18%
unix-shell line-editing termcap lexing parsing command-history

21sh's Introduction

21sh

Taking minishell to the next level.

21sh is a Unix shell with:

  • line edition features
  • ctrl+D and ctrl+C handling
  • redirection '<', '>', '<<', and '>>'
  • pipe '|'
  • file descriptor aggregation
  • command line seperation with ';'
  • command history navigation with up and down arrows
  • complete managament of quotes and double quotes

Usage

Repository contains a Makefile for:

  • compiling executable (make all)
  • removing object files (make clean)
  • deleting executable (make fclean)
  • recompiling (make re)

Example of 21sh:
example

Notes:

This project was done together with VictoriaElisabet and is part of my studies at Hive Helsinki.
My part of the code handles the line edition, command history, and signal handling.
This project was thoroughly tested by 5 fellow Hive students.

21sh's People

Contributors

robkle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.