#!/bin/bash echo "type a blank-separated list followed by enter: " read input for item in $input do echo "<$item>" done echo "and the \$input was $input"