#!/bin/bash
# tute11

clear
echo -e "#################################### 11 ######################################\n"

echo -e "O.K. I have just shown you some of the more common usages you might want to"
echo -e "use in a Bash script.\n"
sleep 5
echo -e "Now I'd like to introduce you to stream editors which are very handy in scripts.\n"
sleep 5
echo -e "To hopefully make this section a little more meaningfull, I propose to show you"
echo -e "how to parse a variable out of a configuration file using sed and awk.\n"
sleep 5
echo -e "The streamdvb.conf file we used in previous examples was written by me for a"
echo -e "a script I had a play with.\n"
sleep 5
echo -e "The variables are from a standard configuration file used to store DVB TV"
echo -e "channel settings. Stations may change based on locality, but the format remains"
echo -e "the same.\n"
sleep 10
echo -e "This is what the channels.conf for Melbourne, from Mt. Dandenong, looks like:\n\n"
sleep 2
echo -e "\tcat channels.conf\n"
sleep 2 
cat channels.conf
sleep 10