Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 2.1 KB

README.md

File metadata and controls

68 lines (52 loc) · 2.1 KB

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