http://qs321.pair.com?node_id=293907


in reply to add character to all lines starting with..

This sounds like it should be very trivial, but without any code or an example file it is hard to give you the exact way to do this.

I would suggest giving us a clear example of what your file looks like so we can work on it from there.
  • Comment on Re: add character to all lines starting with..

Replies are listed 'Best First'.
Re: Re:add character to all lines starting with..
by sativa (Initiate) on Sep 24, 2003 at 16:37 UTC
    Sunadmn, you're very kind,

    The file is a bibliography file some of whose lines start /index while many others also have a / at the beginning.

    My problem is to add a %-sign at the end of the /index lines.

    I know that it might be simply done in Perl, I just have such little experience yet that trying to piece it together in the on-line manual has been rather a lengthy process.

    Is this enough detail ?

    TIA

    sativa

      I believe that my fellow monks should have given you enough to work with here if not please let us know.
        Thanks to all enlightened ones

        I sit back on my mat and contemplate further...

        sativa