Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux remove non-ascii characters from file

// Remove all non-ascii chars from file
perl -i.bak -pe 's/[^[:ascii:]]//g' filename.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: install docker ce on centos 
Shell :: wc command 
Shell :: how to change branch name 
Shell :: créer un fichier powershell 
Shell :: Kubernetes cluster unreachable: Get "https://192.168.56.10:6443/version?timeout=32s": net/http: TLS handshake timeout 
Shell :: Make sure /usr/local/bin is in your PATH environment variable. 
Shell :: mamp mac php logs 
Shell :: how to get a github user profile image download url 
Shell :: start a service in bash if stopped 
Shell :: Linux using GitHub 
Shell :: make diff git as commit 
Shell :: error loading webview vscode ubuntu 
Shell :: linux covert file to ascii 
Shell :: bash sleep 
Shell :: linux cat with syntax highlighting 
Shell :: bash pid background process 
Shell :: ./utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 
Shell :: Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping 
Shell :: change permission to connect your SSH instance mac 
Shell :: enable vault autocomplete 
Shell :: create branch git command 
Shell :: zsh slow cd 
Shell :: nano add line numbers 
Shell :: linux create file 
Shell :: how to create a script raspberry pi 
Shell :: install wine in ubuntu 20.04 
Shell :: Check Firewall setup 
Shell :: kube dashboard expose access port 
Shell :: windows battery report health 
Shell :: see all drives linuix 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =