Difference between revisions of "Gsed"
Jump to navigation
Jump to search
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
+ | Remove non [[ASCII]] [[characters]] | ||
+ | LANG=C [[gsed -i]] 's/[\d128-\d255]//g' | ||
+ | |||
+ | |||
+ | [[gsed: no input files]] | ||
== See also == | == See also == | ||
+ | * {{gsed}} | ||
* {{sed}} | * {{sed}} | ||
[[Category: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: