script to format line



I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. I can identify the columns by hard coding the range:
such as "col1 to col 10" "col11 to col24" etc...

I am stuck.
.



Relevant Pages

  • Re: script to format line
    ... want to add a colon between each column. ... hard coding the range: ... I am stuck. ... Its very close here is my script and output. ...
    (comp.unix.shell)
  • Re: script to format line
    ... want to add a colon between each column. ... hard coding the range: ... I am stuck. ... He said he knows them by character position: ...
    (comp.unix.shell)
  • scripting help
    ... I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. ... I can identify the columns by hard coding the range: ... I am stuck. ...
    (alt.linux)
  • script help
    ... I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. ... I can identify the columns by hard coding the range: ... I am stuck. ...
    (comp.lang.awk)
  • Re: coding question
    ... I thought this would be easier to do this in perl. ... I have a file that doesn't have a field delimiter between the columns and I want to add a colon between each column. ... I can identify the columns by hard coding the range: ... I am stuck. ...
    (comp.lang.perl.misc)