#!/bin/bash set -e # one Card for each of the cardinals Also 4 stages of the day N=$((RANDOM % 52 + 1)) S=$((RANDOM % 52 + 1)) E=$((RANDOM % 52 + 1)) W=$((RANDOM % 52 + 1)) echo -e "Your Card from the at the North/Air is" recsel -e "Order=$N" cards.rec | sed 's/+//g' echo "press enter to continue" read clear echo -e "Your Card at East/Water is" recsel -e "Order=$E" cards.rec | sed 's/+//g' read clear echo -e "At the South/Earth" recsel -e "Order=$S" cards.rec | sed 's/+/ /g' read clear echo -e "Finally at the West/Fire" recsel -e "Order=$W" cards.rec | sed 's/+/ /g' read clear echo "have a magical day"