|
From: Dave H. <da...@ho...> - 2015-08-03 18:22:07
|
On Sun, 2 Aug 2015, sfeam wrote: > > > 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. You sure it's the shell, and not the GP assignment "month = 08" ? I suppose I'll have to pipe it through "sed" or something; talk about violating the POLA... -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." Watson never said: "I think there is a world market for maybe five computers." |