Skip to content

Adding bash like shell handling#1

Open
Retr0Kr0dy wants to merge 1 commit intoEun0us:mainfrom
Retr0Kr0dy:adding_baatsh
Open

Adding bash like shell handling#1
Retr0Kr0dy wants to merge 1 commit intoEun0us:mainfrom
Retr0Kr0dy:adding_baatsh

Conversation

@Retr0Kr0dy
Copy link
Copy Markdown

Added Bourne Again Another Time Shell;
Added command :

  • clear
  • echo (with stdin working)
  • whoami (joke, useless)
  • sleep (ms sleep)
  • uptime
  • grep (with stdin working)
  • baatsh

the baatsh command contain the logic to handle :

  • && to execute multiple commands (ex: echo a && echo b)
  • | to redirect command output to stdin (ex: echo abc | grep b)
  • $() to add command output to a command (ex: echo $(whoami))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant