#!/bin/bash set -e mkdir -p /home/mike/Desktop cat > /home/mike/Desktop/bunny_poem.txt <<'POEM_EOF' Bunnies Two soft puffs on the meadow green, Where daisies nod and clover leans, A mother's watch, her kits between, In all the hush of the morning scenes. A twitch of nose, a flicker of ear, They hop on tiptoe, then stop and stare, And freeze like tufts in the morning air. The sun climbs slow and the fields run long; The little ones yawn in a warm, bright song. Then ears laid back, and one last bound — They curl up soft where the grass is found. Small, sweet, and quick of foot, they say: The bunny's gift is its quiet way. POEM_EOF EXP='7d0a71fb68ab94789afe10c73e2ee9a39e1b9c9bbb1874a6a2033e5ee628c7f5' ACT=$(sha256sum /home/mike/Desktop/bunny_poem.txt | cut -d' ' -f1) echo "SIZE=(534)" echo "SIZEACT=$(wc -c < /home/mike/Desktop/bunny_poem.txt)" if [ "$EXP" = "$ACT" ]; then echo POEM_MATCH_OK; else echo POEM_MATCH_BAD; fi