#!/bin/sh while read LINE; do for cmd; do echo "$LINE" | $cmd done done