perl: fix -i option description (#8340)
This commit is contained in:
@@ -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}}`
|
||||
|
||||
|
Reference in New Issue
Block a user