Difference between revisions of "Gsed"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
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: