On Oct 17, 2005, at 7:17 PM, Robert Citek wrote:
# Read the bp.conf file and wget any url not already in the
podcast.log file:
cat bp.conf |
while read datadir podcastURL ; do
I just learned how to split in bash so that the script can split on "@":
$ echo '[EMAIL PROTECTED]://www.abc.net.au/rn/podcast/feeds/
mind.xml' |
while IFS="@" read datadir podcastURL ; do
echo "$datadir : $podcastURL"
done
all_in_the_mind : http://www.abc.net.au/rn/podcast/feeds/mind.xml
IFS appears to act as a character class, similar to this regular
expression: /[$IFS]+/
Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software. Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/