for example, in current year 2017, date --date='last year'+%Y will output the year of last year, which is 2016. I use this to make xrange wider, so it can have margins on the left and right side. It's totally okay to remove this line.
在 2017年1月17日星期二 UTC+8下午10:31:56,Lifepillar写道: > > On 31/12/2016 16:51, Shaodong Di wrote: > > Hi, I've been using Ledger for a year now. I made 6 script with Gnuplot > > based on Ledger's default report script. They plot good graphs, detailed > > can be found on my blog post: > > > https://www.sundialdreams.com/report-scripts-for-ledger-cli-with-gnuplot/ > > I hope it can help build a great personal financial report of 2016. > > > > P.S. Happy new year! > > Cool scripts! > > Just a question: what is > > $(date --date='last year'+%Y)-12-20" > > supposed to compute? `date` on macOS does not have a --date option. > > Thanks, > Life > > > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
