cryptoquip has asked for the wisdom of the Perl Monks concerning the following question:
From what I've read, I thought that -i would not create backup files if no extension was specified, but backup files is what he got. Mysterious, no? Why did this happen, and how could we have made it not happen?-pi -e 's/^<div.*>/<div>/' *.xml
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: One-liner: -i without .bak?
by gellyfish (Monsignor) on Jul 21, 2005 at 18:37 UTC | |
by Fletch (Bishop) on Jul 21, 2005 at 18:47 UTC | |
Re: One-liner: -i without .bak?
by ikegami (Patriarch) on Jul 21, 2005 at 19:57 UTC | |
Re: One-liner: -i without .bak?
by ysth (Canon) on Jul 22, 2005 at 03:17 UTC | |
Re: One-liner: -i without .bak?
by Fletch (Bishop) on Jul 21, 2005 at 18:13 UTC | |
by cryptoquip (Novice) on Jul 21, 2005 at 18:27 UTC | |
by Transient (Hermit) on Jul 21, 2005 at 18:33 UTC | |
by kutsu (Priest) on Jul 21, 2005 at 18:34 UTC |