#!/bin/bash
# tute8

clear
echo -e "#################################### 08 ######################################\n"
echo -e "Suppose we wanted to put that list of stations in a file.\n"
sleep 5
echo -e "It could be done with redirection using either \">\" or \">>\"\n"
sleep 5
echo -e "\">\" will redirect standard out into the target file. If the"
echo -e "target does not exist it will be created. If the file exists it"
echo -e "will be overwritten.\n"
sleep 5
echo -e "\">>\" will redirect standard out to the target file If the"
echo -e "target does not exist it will be created. If the file exists it"
echo -e "will be appended.\n"
sleep 5
echo -e "So now I'll redirect the station names to a file with this command:\n\n"
sleep 5
echo -e "\tgrep \"#Station\" stream-dvb.conf > example03.txt\n"
sleep 2
grep "Station" stream-dvb.conf > example06.txt 
sleep 2
echo -e "Wondering if there really is a example06.txt?"
sleep 5

