Skip to content

sezny/PSU_2016_42sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSU_2016_42sh

A shell like TCSH with some cools colors

Prerequisites

What things you need to install the 42sh

Any terminal, GlibC and GCC

Installing

There is a Makefile in the repository

make

Functionality

• $PATH and environment
• errors and return value
• redirections (’<’, ’>’, ’<<’ and ’>>’)
• pipes (’|’)
• builtins: cd, echo, exit, setenv, unsetenv,
• separators: ’;’, ’&&’, ’||’
• history
• alias unalias
• inhibitors (’\’, '"', ''')
• globbings (’*’, ’?’, ’[’, ’]’)
• line edition (multiline, auto-completion dynamic)
• backticks (’‘’)

Shortcuts

• Clear (ctrl + L)
• ls (alt + L)
• Cut the Line after the cursor (ctrl + K)
• ctrl + C handle as a "non signal" caracter
• Send EOF (ctrl + d)

Authors

  • Nikola Tomic - Initial work with redirections, pipes, cd, execution and environnement - Pujomir
  • Léandre Blanchard - Line editing, history, auto-completion dynamic and tools library - LeandreBL
  • Antoine Le Dû - Builtins echo and help for global parsing - Sezny
  • Quentin Sonnefraud -Globbings, inihibitors, logical operator '&&' '||' and aliases - Vatoth

Made with love at Epitech Paris in 2017

About

A shell like TCSH with some cools colors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.1%
  • Makefile 3.3%
  • C++ 0.6%