Closed nixpulvis closed 3 years ago
Implements the following variable related functions:
repl
rustyline
VAR=VAL
$VAR
WORD
export
assert_oursh!("X=1; echo $X", "1\n"); assert_oursh!("export FOO=1 BAR=$FOO; echo $BAR", "1\n"); assert_oursh!("echo $BAR", "\n"); assert_oursh!("echo $", "$\n"); assert_oursh!("echo ' $ '", " $ \n"); assert_oursh!("echo \" $$ $ \"", " $$ $ \n");
Implements the following variable related functions:
repl
for therustyline
crate, (for now since it fixes #20)VAR=VAL
commands$VAR
substrings of aWORD
export
builtin