forked from LucasKuhn/minishell_tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuiltins
76 lines (75 loc) · 1.11 KB
/
builtins
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
echo hello world
echo "hello world"
echo 'hello world'
echo hello'world'
echo hello""world
echo ''
echo "'$USER'"
echo '"$USER"'
echo "$PWD"
echo '$PWD'
echo "aspas ->'"
echo "aspas -> ' "
echo 'aspas ->"'
echo 'aspas -> " '
echo "> >> < * ? [ ] | ; [ ] || && ( ) & # $ \ <<"
echo '> >> < * ? [ ] | ; [ ] || && ( ) & # $ \ <<'
echo "exit_code ->$? user ->$USER home -> $HOME"
echo 'exit_code ->$? user ->$USER home -> $HOME'
echo "$"
echo '$'
echo $
echo $?
echo $?HELLO
pwd
pwd oi
export hello
export HELLO=123
export A-
export HELLO=123 A
export HELLO="123 A-"
export hello world
export HELLO-=123
export =
export =hello
export 123
export ZZ+=hello
export ZZ+=:hello
export ZZ=hello
export ZZ-=hello
export ZZ-A=hello
export _ZZ-A=hello
export 1ZZA=hello
export Z1ZA=hello
export Z-ZA=hello
unset
unset HELLO
unset HELLO1 HELLO2
unset HOME
unset PATH
unset SHELL
c
cda
cd $PWD
cd $PWD hi
exi
exita
exit 123
exit 298
exit +100
exit "+100"
exit +"100"
exit -100
exit "-100"
exit -"100"
exit hello
exit -1
exit +1
exit --
exit ++
exit a
exit -a
exit 42 world
exit 9223372036854775807
exit -9223372036854775808
exit 9223372036854775808