Hi Eric, "Eric Schulte" wrote: > However I do agree that this would be onerous to have to wrap every cell of > a table in double quotes...
Aren't we forced to do so, right now? As in the following home-made example: #+TITLE: Show differences between files * Code Assuming you have two directories (namely =xhtml-dir= and =xhtml-dir-bak=, accessible from this local directory), the following blocks of code will compare named files (see column 2 of table) in them, in both /text/ and /binary/ versions. #+srcname: diff-text #+begin_src sh :var file="" diff -sq --strip-trailing-cr xhtml-dir/$file xhtml-dir-bak/$file > /dev/null case "$?" in 0) echo "identical";; 1) echo "differ";; 2) echo "no such file";; *) echo "?";; esac #+end_src #+srcname: diff-binary #+begin_src sh :var file="" diff -sq xhtml-dir/$file xhtml-dir-bak/$file > /dev/null case "$?" in 0) echo "identical";; 1) echo "differ";; 2) echo "no such file";; *) echo "?";; esac #+end_src * Results | FPH | File | Text | Binary | |-----+-------------------------------+-----------+-----------| | M | "Icopreations.xhtml" | identical | identical | | M | "Ocuevaonspfiessai.xhtml" | identical | differ | | M | "Ocuevain-tut.xhtml" | differ | differ | | M | "Ocuevatagessai.xhtml" | identical | differ | | M | "Ocuf2-stg.xhtml" | differ | differ | | M | "Ocurolro.xhtml" | identical | differ | | M | "Ocuroliers.xhtml" | differ | differ | | M | "Ocurolredit.xhtml" | identical | differ | | M | "Ocusigletiquebc1233de.xhtml" | differ | differ | | M | "Rocsaieprestations.xhtml" | identical | identical | #+TBLFM: $3='(sbe diff-text (file $2))::$4='(sbe diff-binary (file $2)) I had to enclose the filenames between double quotes, for the =sbe= code to work. Trying what you wrote on http://eschulte.github.com/babel-dev/DONE-literal-values-from-tables.html, that is using $$2 instead of $2 has the following behavior: when evaluating the table, Org prompts me for a "Lisp expression"!? Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode