#!/bin/oksh IFS="\n" while read line; do echo -n "_TABLE_ROW(" echo -n "$line" | tr -s "\\t" "," echo ")" done < "$1"