[arm-allstar] Fwd: ARRL news Problem

Doug Crompton wa3dsp at gmail.com
Mon Aug 7 20:18:55 EST 2017


The problem is NOT doing it one way or the other. The problem is
standardization. Apparently there was a personnel change at ARRL this week
and whomever is in charge of naming the file changed the format. We need to
determine what the ongoing format is. I have a dialog with Steve Ford and
we will hopefully get it cleared up.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*


On Mon, Aug 7, 2017 at 7:16 PM, "Tony Ross via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> On 08/07/2017 03:35 PM, "Doug Crompton via arm-allstar" wrote:
>
> ​Below is a mail conversation with the ARRL regarding the fact that the
>> playnews script is no longer working for ARRL news. It had been working up
>> until now. They apparently have made the month's preceding 0 digit for
>> less
>> than 10 go away. This makes it incompatible with any simple built-in Linux
>> date formatting. ...
>>
>
> The man page for date states:
> ...
> By default, date pads numeric fields with zeroes.  The following optional
> flags may follow '%':
> -      (hyphen) do not pad the field
> ...
>
> It suggests use of the optional "-" flag as a solution, which works
> correctly:
>
> # echo http://content.blubrry.com/arrlaudionews/AAN-$(date --date="last
> friday" +%Y-%-m-%d).mp3
> http://content.blubrry.com/arrlaudionews/AAN-2017-8-04.mp3
>
>
>
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org


More information about the arm-allstar mailing list