GithubHelp home page GithubHelp logo

pekopeko1 / rusty_bash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shellgei/rusty_bash

0.0 0.0 0.0 1.28 MB

bash written with Rust

License: BSD 3-Clause "New" or "Revised" License

Shell 14.00% Rust 86.00%

rusty_bash's Introduction

Rusty Bash

may be a clone of Bash.

author / maintainer

how to try it

$ git clone https://github.com/shellgei/rusty_bash.git
$ cd rusty_bash
$ cargo build --release
$ ./target/release/rusty_bash 

Rusty Bash reads .rusty_bashrc in your home directory if it exists.

list of features

  • โœ”๏ธ :available
  • ๐Ÿšง :partially available (or having known bugs)
  • ๐Ÿ™… : not implemented

compound commands

features status features status features status
if โœ”๏ธ while โœ”๏ธ () โœ”๏ธ
{} โœ”๏ธ case ๐Ÿšง until ๐Ÿ™…
for ๐Ÿ™… (()) ๐Ÿšง [[]] ๐Ÿ™…

control operator

features status features status features status
|| โœ”๏ธ && โœ”๏ธ ; โœ”๏ธ
;; โœ”๏ธ | โœ”๏ธ & โœ”๏ธ
|& ๐Ÿ™…

options

features status features status features status
i โœ”๏ธ x ๐Ÿšง: v ๐Ÿšง:

special parameters and position parameters

features status features status features status
* โœ”๏ธ @ โœ”๏ธ ? โœ”๏ธ
- โœ”๏ธ 0 โœ”๏ธ 1, 2, 3, ... โœ”๏ธ
# โœ”๏ธ $ โœ”๏ธ ! ๐Ÿ™…
_ โœ”๏ธ

builtin commands

features status features status features status
cd โœ”๏ธ pwd โœ”๏ธ read โœ”๏ธ
exit โœ”๏ธ source โœ”๏ธ set ๐Ÿšง
shopt ๐Ÿšง : โœ”๏ธ . โœ”๏ธ
alias โœ”๏ธ bg ๐Ÿšง bind ๐Ÿ™…
break ๐Ÿ™… builtin โœ”๏ธ caller ๐Ÿ™…
command ๐Ÿ™… compgen ๐Ÿ™… complete ๐Ÿ™…
compopt ๐Ÿ™… continue ๐Ÿ™… declare ๐Ÿ™…
dirs ๐Ÿ™… disown ๐Ÿ™… echo ๐Ÿ™…
enable ๐Ÿ™… eval โœ”๏ธ exec ๐Ÿ™…
fc ๐Ÿ™… fg ๐Ÿšง getopts ๐Ÿ™…
hash ๐Ÿ™… help ๐Ÿ™… history ๐Ÿšง
jobs ๐Ÿšง kill ๐Ÿ™… let ๐Ÿ™…
local ๐Ÿ™… logout ๐Ÿ™… mapfile ๐Ÿ™…
popd ๐Ÿ™… printf ๐Ÿ™… pushd ๐Ÿ™…
read ๐Ÿ™… readonly ๐Ÿ™… return ๐Ÿšง
shift โœ”๏ธ suspend ๐Ÿ™… test ๐Ÿ™…
times ๐Ÿ™… trap ๐Ÿ™… true โœ”๏ธ
type ๐Ÿ™… typeset ๐Ÿ™… ulimit ๐Ÿ™…
umask ๐Ÿ™… unalias ๐Ÿ™… unset ๐Ÿšง
wait ๐Ÿšง export ๐Ÿšง false โœ”๏ธ

variables

features status features status features status
OLDPWD โœ”๏ธ PWD โœ”๏ธ BASH ๐Ÿ™…
BASHOPTS ๐Ÿ™… BASHPID โœ”๏ธ BASH_ALIASES ๐Ÿ™…
BASH_ARGC ๐Ÿ™… BASH_ARGV ๐Ÿ™… BASH_ARGV0 ๐Ÿ™…
BASH_CMDS ๐Ÿ™… BASH_COMMAND ๐Ÿ™… BASH_EXECUTION_STRING ๐Ÿ™…
BASH_LINENO ๐Ÿ™… BASH_LOADABLES_PATH ๐Ÿ™… BASH_REMATCH ๐Ÿ™…
BASH_SOURCE ๐Ÿ™… BASH_SUBSHELL ๐Ÿ™… BASH_VERSINFO ๐Ÿ™…
BASH_VERSION ๐Ÿ™… COMP_CWORD ๐Ÿ™… COMP_KEY ๐Ÿ™…
COMP_LINE ๐Ÿ™… COMP_POINT ๐Ÿ™… COMP_TYPE ๐Ÿ™…
COMP_WORDBREAKS ๐Ÿ™… COMP_WORDS ๐Ÿ™… COPROC ๐Ÿ™…
DIRSTACK ๐Ÿ™… EPOCHREALTIME ๐Ÿ™… EPOCHSECONDS ๐Ÿ™…
EUID ๐Ÿ™… FUNCNAME ๐Ÿ™… GROUPS ๐Ÿ™…
HISTCMD ๐Ÿ™… HOSTNAME ๐Ÿ™… HOSTTYPE ๐Ÿ™…
LINENO ๐Ÿ™… MACHTYPE ๐Ÿ™… MAPFILE ๐Ÿ™…
OPTARG ๐Ÿ™… OPTIND ๐Ÿ™… OSTYPE ๐Ÿ™…
PIPESTATUS ๐Ÿ™… PPID ๐Ÿ™… RANDOM ๐Ÿ™…
READLINE_LINE ๐Ÿ™… READLINE_POINT ๐Ÿ™… REPLY ๐Ÿ™…
SECONDS ๐Ÿ™… SHELLOPTS ๐Ÿ™… SHLVL ๐Ÿ™…
UID ๐Ÿ™… BASH_COMPAT ๐Ÿ™… BASH_ENV ๐Ÿ™…
BASH_XTRACEFD ๐Ÿ™… CDPATH ๐Ÿ™… CHILD_MAX ๐Ÿ™…
COLUMNS ๐Ÿ™… COMPREPLY ๐Ÿ™… EMACS ๐Ÿ™…
ENV ๐Ÿ™… EXECIGNORE ๐Ÿ™… FCEDIT ๐Ÿ™…
FIGNORE ๐Ÿ™… FUNCNEST ๐Ÿ™… GLOBIGNORE ๐Ÿ™…
HISTCONTROL ๐Ÿ™… HISTFILE ๐Ÿ™… HISTFILESIZE ๐Ÿ™…
HISTIGNORE ๐Ÿ™… HISTSIZE ๐Ÿ™… HISTTIMEFORMAT ๐Ÿ™…
HOME ๐Ÿ™… HOSTFILE ๐Ÿ™… IFS ๐Ÿšง
IGNOREEOF ๐Ÿ™… INPUTRC ๐Ÿ™… INSIDE_EMACS ๐Ÿ™…
LANG ๐Ÿ™… LC_ALL ๐Ÿ™… LC_COLLATE ๐Ÿ™…
LC_CTYPE ๐Ÿ™… LC_MESSAGES ๐Ÿ™… LC_NUMERIC ๐Ÿ™…
LC_TIME ๐Ÿ™… LINES ๐Ÿ™… MAIL ๐Ÿ™…
MAILCHECK ๐Ÿ™… MAILPATH ๐Ÿ™… OPTERR ๐Ÿ™…
PATH โœ”๏ธ POSIXLY_CORRECT ๐Ÿ™… PROMPT_COMMAND ๐Ÿ™…
PROMPT_DIRTRIM ๐Ÿ™… PS0 ๐Ÿ™… PS1 ๐Ÿ™…
PS2 ๐Ÿ™… PS3 ๐Ÿ™… PS4 ๐Ÿ™…
SHELL ๐Ÿ™… TIMEFORMAT ๐Ÿ™… TMOUT ๐Ÿ™…
TMPDIR ๐Ÿ™… auto_resume ๐Ÿ™… histchars ๐Ÿ™…

others

features status
coproc ๐Ÿ™…

thanks to

Partially in Japanese.

rusty_bash's People

Contributors

ryuichiueda avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.