#!/bin/sh # convert newline-delimited items on stdin to space-separated. tr '\n' ' '