emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Creating hline in table from source block?


From: Achim Gratz
Subject: Re: [O] Creating hline in table from source block?
Date: Mon, 25 Nov 2013 21:43:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Achim Gratz writes:
[…]

Looking at this again, of course this simpler version would do the same.

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC sh :results raw
(
echo "a b c d"
echo ""
echo "1 2 3 4"
echo "5 6 7 8"
) | sed -re 's/^| /|/g' -e 's/^\|$/|-/'
#+END_SRC
--8<---------------cut here---------------end--------------->8---


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




reply via email to

[Prev in Thread] Current Thread [Next in Thread]