Supriya Sawant <sp.sawan...@gmail.com> 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.

Reply via email to