6

How to Remove All Non-ascii Content From a Workflow (File)

 3 years ago
source link: https://happy123.me/blog/2021/04/17/how-to-remove-all-non-ascii-content-from-a-workflow-file/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to Remove All Non-ascii Content From a Workflow (File)

Apr 17th, 2021 | Comments

grep remove lines

grep --colour='auto' -P '[^\x00-\x7]' file

tr remove characters

LC_ALL=C tr -dc '\0-\177' <file >newfile

Posted by brain-zhang

Apr 17th, 2021tools

« How to modify an invalid '/etc/sudoers' file?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK