On Fri, 25 Mar 2016 06:49:22 -0500
Don V Nielsen <donvnielsen at gmail.com> wrote:

> I have a need for something that can parse and load into sqlite tables
> fixed length data. 

Insert your own separators.  

$ cat input
12345678910111213141516171819202122232425

Print two 5-byte ranges separated by ", ".  

$ awk '{ OFS=", "; print substr($0, 1, 5), substr($0, 6, 5); }'  \
        input 
12345, 67891

--jkl

Reply via email to