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.
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
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
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