[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: babel: results switch (output vs. value) has no or wrong ef
From: |
Sebastien Vauban |
Subject: |
Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)] |
Date: |
Fri, 19 Aug 2011 21:38:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Achim,
Achim Gratz wrote:
> András Major <address@hidden> writes:
>> This would be most easily done using an sh block which returns a
>> numeric exit code.
>
> No one keeps you from using
>
> echo $?
>
> in the last line of that shell block.
Even if this is a smart workaround, it don't think this is equivalent to
outputting "value" as, here, you'd get the value printed at the end of the
call, but as well all what has been sent to stdout during the execution of the
block.
Best regards,
Seb
--
Sebastien Vauban
- [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Andras Major, 2011/08/19
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Eric Schulte, 2011/08/19
- Re: [O] Bug: babel: results switch (output vs. valu e) has no or wrong effect for sh source block [7 .7 (release_7.7.107.g7a82)], András Major, 2011/08/19
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Sebastien Vauban, 2011/08/19
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Eric Schulte, 2011/08/21
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Michael Brand, 2011/08/22
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Achim Gratz, 2011/08/23
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Eric Schulte, 2011/08/23
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Eric Schulte, 2011/08/23
- Re: [O] Bug: babel: results switch (output vs. value) has no or wrong effect for sh source block [7.7 (release_7.7.107.g7a82)], Michael Brand, 2011/08/29