Re: Indexing Unix command

2016-08-01 Thread Rodolfo Medina
Christian Seiler writes: > On 08/01/2016 02:52 PM, Rodolfo Medina wrote: >> with the following simple script: >> >> #!/bin/sh >> >> cat index.idx | sort > index.ind >> >> I sort the contents of a file and write it in another file. Now, I want >> that a small vertical space, i.e. an empty line

Re: Indexing Unix command

2016-08-01 Thread Christian Seiler
On 08/01/2016 02:52 PM, Rodolfo Medina wrote: > with the following simple script: > > #!/bin/sh > > cat index.idx | sort > index.ind > > I sort the contents of a file and write it in another file. Now, I want that > a > small vertical space, i.e. an empty line or two, were inserted before all

Indexing Unix command

2016-08-01 Thread Rodolfo Medina
Dear Unix-experts, with the following simple script: #!/bin/sh cat index.idx | sort > index.ind I sort the contents of a file and write it in another file. Now, I want that a small vertical space, i.e. an empty line or two, were inserted before all the words that start with a new letter. It's