[arm-allstar] Weather.sh?

wb9rsq at me.com wb9rsq at me.com
Thu May 10 08:26:13 EST 2018


Questions and a comment.
I'm not a programmer but I try to spend a bit of time now and then to look
over and understand the various scripts related to the allstar image.
I have noticed more comments in the .conf files. These are quite helpful.
However in many of the scripts there are complex sections with no comments.
I would love to understand more of what is happening and why.
My specific question for the moment is just what the locate function is
doing in the weather script?
In some of the scripts I can figure out how the text files and then the
speech file is being built.
I can't figure out how the speech file is assembled in the weather.sh
script.

Also in reading through the weather.sh file I found that in the final line
the second "condition" is misspelled "condtion".
I think I noticed that same error in one of the comment lines.
I assume that this error in the code would only happen if there was a
request for more than a single weather report location.
I don't do more than one but corrected my copy just in case.

I'd appreciate any help or info on how any of these scripts work and as time
permits I'd love to see more detailed comments added to help novices learn
and improve scripts.
All the user manuals and guides are great but when help is directly related
to scripts you are actually using it means much more.
73





More information about the arm-allstar mailing list