Difference between revisions of "Gsed"
Jump to navigation
Jump to search
(4 intermediate revisions by 4 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 == | == 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: