1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 13:15:25 +02:00

perl: fix -i option description (#8340)

This commit is contained in:
izokina 2022-08-12 17:45:51 +05:00 committed by GitHub
parent 9eed966207
commit a3d5656a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@
`perl -d {{script.pl}}`
- Edit all file lines [i]n-place with a specific replacement [e]xpression and save a file with a new extension:
- Edit all file lines [i]n-place with a specific replacement [e]xpression, saving a backup with a new extension:
`perl -p -i'.{{extension}}' -e 's/{{regular_expression}}/{{replacement}}/g' {{path/to/file}}`