package
0.0.0-20240505154052-33bc21edd805
Repository: https://github.com/jneduelan/shweetshell.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Project 2: Shell Builtins

#Jaylen Neduelan

Description

his project involves extending a simple shell by adding five shell builtins or shell-adjacent commands, rewritten in Go and integrated into the existing Go shell. The shell supports a variety of builtin commands from shells such as sh, bash, csh, tcsh, ksh, and zsh.

Builtins Already Implemented

  • cd
  • env

Additional Resources

Getting Started

Prerequisites

Ensure you have Go installed on your system (visit Go's official site for download instructions). This project uses Go modules, so no additional GOPATH configuration is needed.

For this project we'll be adding commands to a simple shell.

The shell is already written, but you will choose five (5) shell builtins (or shell-adjacent) commands to rewrite into Go, and integrate into the Go shell.

There are many builtins or shell-adjacent commands to pick from: Bourne Shell Builtins, Bash Builtins, and Built-in csh and tcsh Commands.

Feel free to pick from sh, bash, csh, tcsh, ksh or zsh builtins... or if you have something else in mind, ping me and we'll work it out.

As an example, two shell builtins have already been added to the package builtins:

  • cd
  • env