Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: add character to all lines starting with..

by sunadmn (Curate)
on Sep 24, 2003 at 16:23 UTC ( #293907=note: print w/replies, xml ) Need Help??

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 ?



      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...


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://293907]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-10-28 22:32 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.