#!/bin/sh if [ $# -ne 1 ]; then echo "ERROR" exit 1 fi printf "r " cat "$1" | tr "\n" " " echo " $1"