Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "---Grep tests---"
- echo "->tests -l"
- ./s21_grep -l -e if ttt.txt >1
- grep -l -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -l -e for -e if ttt.txt >1
- grep -l -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -li -e for -e if ttt.txt >1
- grep -li -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -l -e return ttt.txt >1
- grep -l -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -lv -e return ttt.txt >1
- grep -lv -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -li -e IF ttt.txt >1
- grep -li -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -lin -e IF ttt.txt >1
- grep -lin -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -liv -e IF ttt.txt >1
- grep -liv -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -l -e argv ttt.txt file.txt >1
- grep -l -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -lv -e argv ttt.txt file.txt >1
- grep -lv -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -l -e argv ttt.txt file.txt1 >1
- grep -l -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -ls -e argv ttt.txt file.txt1 >1
- grep -ls -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- echo "end->tests -l"
- echo "->tests -o"
- ./s21_grep -o -e if ttt.txt >1
- grep -o -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -o -e for -e if ttt.txt >1
- grep -o -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -oi -e for -e if ttt.txt >1
- grep -oi -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -oin -e for -e if ttt.txt >1
- grep -oin -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -oin -e for -e if ttt.txt file.txt >1
- grep -oin -e for -e if ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -oin -e ty -e if ttt.txt file.txt >1
- grep -oin -e ty -e if ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -oinv -e for -e if ttt.txt >1
- grep -oinv -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -o -e return ttt.txt >1
- grep -o -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -ov -e return ttt.txt >1
- grep -ov -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -oi -e IF ttt.txt >1
- grep -oi -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -oin -e IF ttt.txt >1
- grep -oin -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -oiv -e IF ttt.txt >1
- grep -oiv -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -o -e for ttt.txt file.txt >1
- grep -o -e for ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -o -e argv ttt.txt file.txt >1
- grep -o -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -ov -e argv ttt.txt file.txt >1
- grep -ov -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -o -e argv ttt.txt file.txt1 >1
- grep -o -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -oh -e argv ttt.txt file.txt >1
- grep -oh -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -ovh -e argv ttt.txt file.txt >1
- grep -ovh -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -onh -e argv ttt.txt file.txt1 >1
- grep -onh -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -os -e argv ttt.txt file.txt1 >1
- grep -os -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -ohs -e argv ttt.txt file.txt1 >1
- grep -ohs -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- echo "end->tests -o"
- echo "->tests -c"
- ./s21_grep -c -e if ttt.txt >1
- grep -c -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -c -e for -e if ttt.txt >1
- grep -c -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -ci -e for -e if ttt.txt >1
- grep -ci -e for -e if ttt.txt >2
- diff -s 1 2
- ./s21_grep -c -e return ttt.txt >1
- grep -c -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -cv -e return ttt.txt >1
- grep -cv -e return ttt.txt >2
- diff -s 1 2
- ./s21_grep -ci -e IF ttt.txt >1
- grep -ci -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -cin -e IF ttt.txt >1
- grep -cin -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -civ -e IF ttt.txt >1
- grep -civ -e IF ttt.txt >2
- diff -s 1 2
- ./s21_grep -c -e argv ttt.txt file.txt >1
- grep -c -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -cv -e argv ttt.txt file.txt >1
- grep -cv -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -c -e argv ttt.txt file.txt1 >1
- grep -c -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -ch -e argv ttt.txt file.txt >1
- grep -ch -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -cvh -e argv ttt.txt file.txt >1
- grep -cvh -e argv ttt.txt file.txt >2
- diff -s 1 2
- ./s21_grep -ch -e argv ttt.txt file.txt1 >1
- grep -ch -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- ./s21_grep -chs -e argv ttt.txt file.txt1 >1
- grep -chs -e argv ttt.txt file.txt1 >2
- diff -s 1 2
- echo "end->tests -c"
- echo "->tests -f"
- ./s21_grep -f file.txt ttt.txt >1
- grep -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -e while -f file.txt ttt.txt >1
- grep -e while -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -e while -eerror -f file.txt ttt.txt >1
- grep -e while -eerror -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -e while -e end -f file.txt ttt.txt >1
- grep -e while -e end -f file.txt ttt.txt >2
- diff -s 1 2
- #./s21_grep while -f file.txt ttt.txt >1
- #grep while -f file.txt ttt.txt >2
- #diff -s 1 2
- ./s21_grep -i -e while -f file.txt ttt.txt >1
- grep -i -e while -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -in -e while -f file.txt ttt.txt >1
- grep -in -e while -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -in -e while -f file.txt ttt.txt ttt.txt >1
- grep -in -e while -f file.txt ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -inh -e while -f file.txt ttt.txt ttt.txt >1
- grep -inh -e while -f file.txt ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -inhv -e while -f file.txt ttt.txt ttt.txt >1
- grep -inhv -e while -f file.txt ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -v -f file.txt ttt.txt >1
- grep -v -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -vi -f file.txt ttt.txt >1
- grep -vi -f file.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -e while -f file.txt ttt.txt ttt.sys >1
- grep -e while -f file.txt ttt.txt ttt.sys >2
- diff -s 1 2
- ./s21_grep -e while -f file.txt ttt.sys >1
- grep -e while -f file.txt ttt.sys >2
- diff -s 1 2
- ./s21_grep -s -e while -f file.txt ttt.txt ttt.sys >1
- grep -s -e while -f file.txt ttt.txt ttt.sys >2
- diff -s 1 2
- ./s21_grep -shn -e while -f file.txt ttt.txt ttt.sys >1
- grep -shn -e while -f file.txt ttt.txt ttt.sys >2
- diff -s 1 2
- ./s21_grep -e while -f file.php ttt.txt >1
- grep -e while -f file.php ttt.txt >2
- diff -s 1 2
- ./s21_grep -f file.txt *.* >1
- grep -f file.txt *.* >2
- diff -s 1 2
- echo "end->tests -f"
- echo "->tests common"
- ./s21_grep if ttt.txt >1
- grep if ttt.txt >2
- diff -s 1 2
- ./s21_grep -i if ttt.txt >1
- grep -i if ttt.txt >2
- diff -s 1 2
- ./s21_grep -in if ttt.txt >1
- grep -in if ttt.txt >2
- diff -s 1 2
- ./s21_grep -in if ttt.txt ttt.txt >1
- grep -in if ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -inh if ttt.txt ttt.txt >1
- grep -inh if ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -inv if ttt.txt ttt.txt >1
- grep -inv if ttt.txt ttt.txt >2
- diff -s 1 2
- ./s21_grep -n if file.txt *.* >1
- grep -n if file.txt *.* >2
- diff -s 1 2
- #./s21_grep -y if ttt.txt ttt.txt >1
- #grep -y if ttt.txt ttt.txt >2
- #diff -s 1 2
- ./s21_grep if -in ttt.txt >1
- grep if -in ttt.txt >2
- diff -s 1 2
- echo "end->common"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement