Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: repairing Word-XML-files

by Jaap (Curate)
on Feb 21, 2005 at 19:56 UTC ( [id://433158]=note: print w/replies, xml ) Need Help??


in reply to repairing Word-XML-files

How does that -p work? I found this:
-p This option places a loop around your script. It will automatically read a line from the diamond operator, execute the script, and then print $_. It is most often used with the -e option.
So what does -pi.bak do?

Replies are listed 'Best First'.
Re^2: repairing Word-XML-files
by dragonchild (Archbishop) on Feb 21, 2005 at 20:13 UTC
    -p -i.bak ... -i means to do the work in-place and save off the old version to <filename>.bak.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-20 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found