Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: inline file modification

by Codon (Friar)
on Sep 07, 2005 at 16:37 UTC ( #489924=note: print w/ replies, xml ) Need Help??

in reply to inline file modification

Is this something that needs to happen within a greater context, or is this something that can be simply done with

# untested substitution perl -pi -e 's/^.+idTag.+$/new data here/' file.txt

Ivan Heffner
Sr. Software Engineer, DAS Lead, Inc.

Comment on Re: inline file modification
Download Code
Re^2: inline file modification
by Woodchuck (Initiate) on Sep 07, 2005 at 16:45 UTC
    first option
      This node was taken out by the NodeReaper on Wed Sep 7 19:14:59 2005 GMT
      Reason: [ww]: delete. empty node

      For more information on this node visit: this

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2015-05-26 02:29 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (493 votes), past polls