#!/bin/bash

#demonstrate reading and writing

printf "type ^D to quit\n" 
while read line; do printf "you typed: \"%s\"\n" "$line"; done 
