Re: [O] how to get "org-version" using emacs batch mode.

2014-04-23 Thread Nicolas Richard
Supriya Sawant writes: > Is it possible to redirect or get the output of batch mode command in > variable. Assuming you use bash : $ MYOUTPUT=$(emacs --batch --eval '(princ (org-version))') $ echo $MYOUTPUT 8.2.5c -- Nico.

Re: [O] how to get "org-version" using emacs batch mode.

2014-04-23 Thread Supriya Sawant
Is it possible to redirect or get the output of batch mode command in variable. cmd = emacs --batch --eval '(message (org-version))' ouput=cmd print output i.e output contains version no.(output=7.9.3f) On Wed, Apr 23, 2014 at 12:00 PM, Bastien wrote: > Supriya Sawant writes: > > > emacs

Re: [O] how to get "org-version" using emacs batch mode.

2014-04-22 Thread Bastien
Supriya Sawant writes: > emacs --batch --eval '(org-version)' > > but it doesn't work. It gives me blank result. emacs --batch --eval '(message (org-version))' HTH, -- Bastien

[O] how to get "org-version" using emacs batch mode.

2014-04-22 Thread Supriya Sawant
How can I get the org-version on my command line? I think using batch mode it is possible. I tried : emacs --batch --eval '(org-version)' but it doesn't work. It gives me blank result. -- Thanks & Regards, Supriya Pravin Sawant