From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] shell does not unquote Date: Wed, 05 Feb 2014 17:49:48 -0700 Message-ID: <87bnylcaje.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDUo-0007OB-9J for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBDUg-0007xh-5e for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:14 -0500 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:55010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBDUf-0007xS-TT for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 20:11:06 -0500 Received: by mail-pb0-f46.google.com with SMTP id um1so1077660pbc.5 for ; Wed, 05 Feb 2014 17:11:05 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Use org-babel-expand-block (C-c C-v v) to view the code block with the variable expansion. Best, Samuel Wales writes: > i don't know why the shell does not unquote here: > > #+BEGIN_SRC sh :results verbatim output :var how="a 'b' \c \"d\" e" > :var dothis="echo \"hi\"" > echo $how > $dothis > #+END_SRC > > #+RESULTS: > #+begin_example > a 'b' c "d" e > "hi" > #+end_example > > thanks. > > samuel -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D