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:
parent
9eed966207
commit
a3d5656a8d
1 changed files with 1 additions and 1 deletions
|
@ -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}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue