Files
42_SIDE_minishell_test/tests/defaults/pipes.sh
2021-12-21 10:54:13 +01:00

92 lines
1.2 KiB
Bash

echo bonjour |
echo bonjour | |
|
echo bonjour |
cat Makefile | grep pr | head -n 5 | cd test (mybin)
cat Makefile | grep pr | head -n 5 | cat test (bin)
cat Makefile | grep pr | head -n 5 | hello (NA)
cat | cat | cat | ls
echo hudifg d | | hugdfihd
echo |
| echo
sort | ls
exit 0 | exit 1
exit 1 | exit 0
cat < Makefile | grep gcc > output
ls
rm output
rm output
sleep 1 | exit
ls | cat
cat | ls
ls /proc/self/fd
ls | ls | ls /proc/self/fd
ls | ls | ls | ls | ls | ls /proc/self/fd
echo | cd .. | pwd
echo hallo >x1 >x2 >x3 | echo hoi
echo hallo daar | echo hoi maran
echo "test test" > working.txt
cat working.txt | grep stuff | echo tim
cat | cat -e | cat
ls filedoesnotexist | grep notme | echo "TEST"
echo hallo daar
echo hoi maran
echo hallo daar | echo hoi maran
echo | poep
echo | cd .. | pwd
echo hallo
echo hoi
echo hallo | echo hoi
echo hallo >x1 >x2 >x3
echo hoi
echo hallo >x1 >x2 >x3 | echo hoi
echo hallo | echo poep >x1 >x2
echo hallo | echo hoi | cat
echo hallo | echo hoi > y1 >y2 | cat -e
echo hoi > y1 >y2 ; cat -e
echo "hello | this is some stuff > touch this file" | grep more
echo hello | this is some stuff > touch this file | grep more
env | leaks
cat x1 | grep Makefile
ls > x1
cat x1 | grep main