myzhang1029/psh

Write all bash and POSIX builtins

myzhang1029 opened this issue · 1 comments

Write all bash and POSIX builtins

Global TODO: Use getopt

  • .
  • :
  • alias
  • bg
  • bind
  • break
  • builtin
  • case
  • cd (TODO)
  • chdir
  • command
  • continue
  • declare
  • do
  • done
  • echo
  • elif
  • else
  • esac
  • eval
  • exec
  • exit
  • export
  • false
  • fc
  • fg
  • fi
  • for
  • getopts
  • getstat
  • hash (TODO)
  • help
  • history (TODO: #16)
  • if
  • jobid
  • jobs
  • local
  • logout
  • popd
  • pushd
  • pwd (TODO)
  • quit
  • read
  • readonly
  • return
  • set
  • setvar
  • shift
  • source
  • test
  • then
  • times
  • trap
  • true
  • type
  • ulimit
  • umask
  • unalias
  • unset
  • until
  • wait
  • which
  • while