On Thu, 18 Jun 2015, Lex Trotman wrote:
If you don't care about portability you can embed some Python in an eval attribute:{eval:import time; time.strftime("%Y",time.locattime())} or you can use the {sys: } attribute to run the command.
I use something like this in my CV at the top:
:linux-experience: {sys:echo $(( $(date +%Y) - 1995 ))}
And then use:
{linux-experience} years of Linux experience
Works great :-)
--
Dag
