-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecho.txt
31 lines (30 loc) · 1.01 KB
/
echo.txt
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
exec_test "echo \$PATH"
exec_test "echo checking if spaces work properly"
exec_test "echo \"checking if spaces work properly\""
exec_test "echo 'checking if spaces work properly'"
exec_test "echo \$water"
exec_test "echo \"\$water\""
exec_test "echo '\$water'"
exec_test "echo \$PWD" # should be the same as pwd
exec_test "echo \$PWD "
exec_test "echo \" \$PWD \""
exec_test "echo \"\$PWD\""
exec_test "echo \"'\$PWD'\""
exec_test "echo '\"\$PWD\"'"
exec_test "echo \"\"\$PWD\"\""
exec_test "echo \$ PWD"
exec_test "echo hola \"'\$PWD' sfsdf\""
exec_test "echo \" \$PWD\$PD EE\""
exec_test "echo \"'\$HOLA'\$PD EE\$\""
exec_test "echo \"'\$PD'\""
exec_test "echo '\$P'\"W'D'\""
exec_test "echo \"\$~\""
exec_test "> hola echo hello"
exec_test "echo hola \"'adi \$PWD os' \$PWD\" 'ddj'abc >> \"hello\" < main.c"
exec_test "echo $\"PWD\""
exec_test "echo \$''"
exec_test "echo \$\"\""
exec_test "echo \$"
exec_test "echo \"\"\$"
exec_test "echo \$?"
echo ls [ | cat --> ls [