Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: add character to all lines starting with..

by sunadmn (Curate)
on Sep 24, 2003 at 16:23 UTC ( [id://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 ?

    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-19 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found