Difference between revisions of "Gsed"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
[[brew install gsed]] | [[brew install gsed]] | ||
+ | |||
+ | Remove non [[ASCII]] characters | ||
+ | LANG=C gsed -i 's/[\d128-\d255]//g' | ||
Revision as of 07:38, 15 March 2023
brew install gsed
Remove non ASCII characters
LANG=C gsed -i 's/[\d128-\d255]//g'
See also
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: