emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel trims leading 0s for certain numbers of tables
@ 2016-07-10 12:38 Ken Mankoff
  2016-07-10 13:18 ` Eric Abrahamsen
  2016-07-10 16:50 ` Charles C. Berry
  0 siblings, 2 replies; 5+ messages in thread
From: Ken Mankoff @ 2016-07-10 12:38 UTC (permalink / raw)
  To: emacs orgmode-mailinglist


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 |

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-10 17:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10 12:38 Babel trims leading 0s for certain numbers of tables Ken Mankoff
2016-07-10 13:18 ` Eric Abrahamsen
2016-07-10 13:35   ` Ken Mankoff
2016-07-10 16:50 ` Charles C. Berry
2016-07-10 17:37   ` Ken Mankoff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).