Re: [O] Referring to results rather than code block

2014-05-20 Thread Loris Bennett
Hi Nick, Nick Dokos writes: > "Loris Bennett" writes: > >> Hi, >> >> I have a code block like this >> >> #+NAME: users_per_month >> #+HEADER: :results append >> #+BEGIN_SRC sh :dir /root@sadmin: >> sacct=/cm/shared/apps/slurm/current/bin/sacct >> for y in {2014..2014}; do >> for m in {03..0

Re: [O] Referring to results rather than code block

2014-05-19 Thread Nick Dokos
"Loris Bennett" writes: > Hi, > > I have a code block like this > > #+NAME: users_per_month > #+HEADER: :results append > #+BEGIN_SRC sh :dir /root@sadmin: > sacct=/cm/shared/apps/slurm/current/bin/sacct > for y in {2014..2014}; do > for m in {03..04}; do > month=$y-$m > first

[O] Referring to results rather than code block

2014-05-19 Thread Loris Bennett
Hi, I have a code block like this #+NAME: users_per_month #+HEADER: :results append #+BEGIN_SRC sh :dir /root@sadmin: sacct=/cm/shared/apps/slurm/current/bin/sacct for y in {2014..2014}; do for m in {03..04}; do month=$y-$m first=$y-$m-01 last=`date -d "$first + 1 mont