I've just discovered that when Org results are returned in a table, they are modified in that leading 0s are removed. Is this a feature? A bug? Is there a workaround for this? Leading 0s are not removed if the result is a string, but in many cases a string of numbers is still a string and should retain those 0s.
-k. #+BEGIN_SRC sh :results table echo "0042" #+END_SRC #+RESULTS: | 42 | #+BEGIN_SRC sh :results table echo "00foo" #+END_SRC #+RESULTS: | 00foo |