Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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..
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
Node Status?
node history
Node Type: note [id://293907]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (13)
As of 2014-10-22 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (119 votes), past polls