Skip to content

theocerutti/SharkSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SharkSH

Untitled2

All features:

  • Variables:
    • Local: set, unset, $?, $$, $PATH, .....
    • Environment: setenv, unsetenv, env
  • errors and return value
  • redirections ('<', '>', '<<', '>>')
  • pipes ('|')
  • separators (';', '&&', '||')
  • inhibitors ('')
  • globbings ('*', '?', '[', ']')
  • quotes ('' "")
  • parentheses ('(' and ')')
  • history ('!')
  • alias (alias, unalias)
  • Line edition:
    • Shortcuts:
      • Arrow Left, Right: Move left / right
      • Arrow Up, Down: History Up / Down
      • CTRL+F: move right
      • CTRL+K: cut line after cursor
      • CTRL+W: cut line before cursor
      • CTRL+T: transpose character
      • CTRL+A: move cursor to the beginning of the line
      • CTRL+E: move cursor to the end of the line
      • CTRL+J: new line
      • CTRL+U: clear line
      • CTRL+C: exit
      • CTRL+L: clear screen
      • CTRL+V: paste
      • Tab: autocompletion

Basic builtins:

  • cd, echo, exit, sharksh, alias, unalias, which/where, repeat, history.
  • set, unset, setenv, unsetenv, printenv, env

Getting started

  1. Download this repository.
  2. make re
  3. ./sharksh

Tests

For this project we needed to make a lots of tests. So we decided to create a complete test system. (unit / functional tests).
We did more than +300 tests.

ezgif com-video-to-gif

View

Autocompletion:

Untitled

Author

About

A complete shell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published