#!/bin/sh line="$(cat)" echo "Printing line '$line' and sleeping $1 seconds" sleep $1