|
From: | Nicolas Richard |
Subject: | Re: [O] how to get "org-version" using emacs batch mode. |
Date: | Wed, 23 Apr 2014 10:11:37 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) |
Supriya Sawant <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |