Shell Scripting Solutions: 5.3 Reporting 303

Reporting 303: "You're Doing It Wrong"

Why Reporting 303 is like Trying to Catch a Squirrel

Imagine you're trying to catch a squirrel, but the squirrel just won't let you. That's basically what reporting 303 does: it tries to catch the attention of the report recipient, but it just won't let them go unnoticed.

Example: A Simple Squirrel-Catching Shell Script

		`#!/usr/bin/env bash
		while true; do
			echo "Squirrel, you're doing it wrong!"
			echo "You should probably do it this way instead."
		done
		

This script will keep trying to catch the attention of the report recipient, but it'll never actually succeed. Kind of like trying to catch a squirrel, but without the whole 'squirrel' thing.

Continue to 5.4 Back to 5.2 Back to 5.1 Back to 5