-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backups with perl -i #197
Comments
From carl@tashian.comSay we create a file and perform an in-place edit on it, saving the [79] carl@caesar:~/testing> echo "1" > test Here are the two files we're left with: [81] carl@caesar:~/testing> ls -l Now look what happens whene we run another pass on these new files: [82] carl@caesar:~/testing> perl -pi.bak -e 's/23/456/g' * 'test' and 'test.bak' are identical, and 'test.bak.bak' contains a Perl Info
|
Migrated from rt.perl.org#1003 (status was 'resolved')
Searchable as RT1003$
The text was updated successfully, but these errors were encountered: