[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] shell does not unquote
From: |
Samuel Wales |
Subject: |
Re: [O] [babel] shell does not unquote |
Date: |
Thu, 6 Feb 2014 14:55:13 -0700 |
thanks for the examples, but they don't meet my needs as tables for
each set of arguments would be too unwieldy.
what would be ideal is to allow setting noweb expansions in the call
line (instead of requiring named blocks to provide the expansion).
i.e. it is similar to setting a var, but is a noweb setting instead.
then i would just do the call with the files i want, quoted the way i want.
may i make this a feature request?
On 2/6/14, Eric Schulte <address@hidden> wrote:
> #+name: files-tab
> | with space |
> | nospace |
>
> #+name: files-ex
> : with space
> : nospace
>
> #+name: list
> #+begin_src sh :var files="" :results verbatim
> IFS="
> "
> for file in $files;do
> echo "-|$file|-"
> done
> #+end_src
>
> #+call: list(files-tab)
>
> #+RESULTS:
> : -|with space|-
> : -|nospace|-
>
> #+call: list(files-ex)
>
> #+RESULTS:
> : -|with space|-
> : -|nospace|-