Difference between revisions of "Gsed"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 3: | Line 3: | ||
− | Remove non [[ASCII]] characters | + | Remove non [[ASCII]] [[characters]] |
LANG=C gsed -i 's/[\d128-\d255]//g' | LANG=C gsed -i 's/[\d128-\d255]//g' | ||
Revision as of 05:45, 16 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: