mirror of https://github.com/01-edu/public.git
6 changed files with 62 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
#!/usr/bin/env bash |
||||||
|
|
||||||
|
# Unofficial Bash Strict Mode |
||||||
|
set -euo pipefail |
||||||
|
IFS=' |
||||||
|
' |
||||||
|
|
||||||
|
print_content() { |
||||||
|
mkdir -p uncompressed |
||||||
|
tar -xpf done.tar -C uncompressed |
||||||
|
tree uncompressed |
||||||
|
} |
||||||
|
|
||||||
|
submitted=$(cd student/struct && print_content) |
||||||
|
expected=$(cd solutions/struct && print_content) |
||||||
|
diff <(echo "$submitted") <(echo "$expected") |
diff.bin_not_shown
Loading…
Reference in new issue