mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 15:51:29 +08:00
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