Difference between revisions of "Gsed -i"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
[[brew install gsed]] | [[brew install gsed]] | ||
[[sed -i]] | [[sed -i]] | ||
+ | |||
+ | Remove non [[ASCII]] [[characters]] | ||
+ | LANG=C [[gsed -i]] 's/[\d128-\d255]//g' | ||
== See also == | == See also == |
Latest revision as of 10:03, 8 December 2023
brew install gsed sed -i
Remove non ASCII characters
LANG=C gsed -i 's/[\d128-\d255]//g'
See also[edit]
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: