emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bash alias and history in code block (again)


From: OSiUX
Subject: Re: [O] bash alias and history in code block (again)
Date: Tue, 22 Apr 2014 14:57:16 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

El jue, 17 abr 2014, Bastien decĂ­a:

> OSiUX <address@hidden> writes:
>
> >     #+BEGIN_SRC sh :cmdline "-i" :session :results output
>
> From a quick look, this should rather be:
>
> #+BEGIN_SRC sh :cmdline -i :session session_name :results output
>
> Can you test this?

Don't Work :-(

** DONE test =bash -i=
   CLOSED: [2014-04-22 mar 14:56]
   :LOGBOOK:
   - State "DONE"       from "NEXT"       [2014-04-22 mar 14:56]
   CLOCK: [2014-04-22 mar 14:51]--[2014-04-22 mar 14:54] =>  0:03
   :END:

   #+BEGIN_SRC sh :cmdline -i :session xyz :results output
     export | grep -i shell
     alias | wc -l
     history | wc -l
   #+END_SRC

   #+RESULTS:
   : declare -x SHELL="/bin/bash"
   : 0
   : 0

   #+BEGIN_SRC sh :session :results output
     export | grep -i shell
     alias | wc -l
     history | wc -l
   #+END_SRC

   #+RESULTS:
   : export SHELL="/bin/bash"
   : 0
   : 0

--

::

  Osiris Alejandro Gomez (OSiUX) address@hidden
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]