Thanks for these last two responses as well - good to get an idea of what 
people do.

On Thursday, June 18, 2015 at 4:44:51 PM UTC+1, [email protected] wrote:
>
> 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 
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to