Difference between revisions of "Gsed"
Jump to navigation
Jump to search
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | brew install gsed | + | [[brew install gsed]] |
+ | Remove non [[ASCII]] [[characters]] | ||
+ | LANG=C [[gsed -i]] 's/[\d128-\d255]//g' | ||
+ | [[gsed: no input files]] | ||
+ | |||
+ | == See also == | ||
+ | * {{gsed}} | ||
* {{sed}} | * {{sed}} | ||
+ | |||
+ | [[Category:Sed]] |
Latest revision as of 10:02, 8 December 2023
brew install gsed
Remove non ASCII characters
LANG=C gsed -i 's/[\d128-\d255]//g'
gsed: no input files
See also[edit]
- gsed
sed, gsed
,-n, -i
,Ansible: replace
,append
,Chef: Editing a file
,lineinfile
Advertising: