|
From: Thomas S. <t.s...@fz...> - 2015-08-03 07:32:26
|
sfeam <eamerritt <at> gmail.com> writes: > ... > > On Sun, Aug 2, 2015 at 4:31 PM, Dave Horsfall <dave <at> horsfall.org> wrote: > > > > > Version 5.0 patchlevel 1 last modified 2015-06-07 > > > > > > I've just spotted a weird problem in one of my scripts. I'm manipulating > > > the date, and I have the line "month = `date +%m`" to extract the month as > > > a number. > > If it's in back-tics, it's being interpreted by the shell, > not by gnuplot. So that particular example says nothing about > how gnuplot processes month numbers. depending on the version of "date" you may switch padding off: #> date +%m 08 #> date +%-m 8 |