Difference between revisions of "Gsed"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
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' |
+ | |||
+ | [[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: