[sword-devel] Help converting text to imp

Karl Kleinpaste karl at kleinpaste.org
Wed Jun 15 07:16:04 MST 2011


Angel Candelaria <linuxarecibo at gmail.com> writes:
> For some reason that didn't work

$ cat text.vpl
gen 1:1 in the beginning god created the heavens and the earth.
john 3:16 for god so loved the world that he gave his only begotten son...
$ sed -e 's/^\(.\+ [0-9]\+:[0-9]\+\) /\$\$\$\1\n/' < text.vpl > text.imp
$ cat text.imp
$$$gen 1:1
in the beginning god created the heavens and the earth.
$$$john 3:16
for god so loved the world that he gave his only begotten son...

> Now, is there a way to put the corresponding labels after the $$$'s? 

Well, the labels at the beginning of the lines of text.vpl are what end
up in the "$$$" keys.



More information about the sword-devel mailing list