2023-05-24 20:32:21
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
# with perl
|
||||||
|
perl -pi -w -e s/apt/APT/g file.sh
|
||||||
|
perl -pi -w -e s/.jpg/.jpg.webp/g file.sh
|
||||||
|
# with sed
|
||||||
|
|
||||||
|
sed -i 's/SEARCH_FOR/REPLACE_WITH/g' file.txt
|
||||||
|
|
||||||
Reference in New Issue
Block a user