Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sed excape all special charators

$ echo '`~!@#$%^&*()-_=+{}|;:",<.>/?' | sed 's/[`~!@#$%^&*()-_=+{}|;:",<.>/?]/&/g'
`~!@#$\%^&*()-\_=+{}|;:",<.>/?
Comment

sed excape all special charators

echo "'"'[]`~!@#$%^&*()-_=+{}|;:",<.>/?' | sed 's/[][`~!@#$%^&*()-_=+{}|;:",<.>/?'"'"']/&/g'
Comment

sed excape all special charators

sed 's/[^a-zA-Z 0-9]/&/g'
Comment

PREVIOUS NEXT
Code Example
Shell :: git conflicts in yarn-lock 
Shell :: shell startup file 
Shell :: printing from command line filters pipelines 
Shell :: kubernetes pod init command run 
Shell :: syntax for ls 
Shell :: uninstall debian kodi 
Shell :: betterlock screen set wallpaper 
Shell :: iptables linux 80 and 443 open 
Shell :: How do I push a new local branch to a remote Git repository and track it too? 
Shell :: sed prepend to all files 
Shell :: force shudown app from terminal 
Shell :: tapping homebrew/core 
Shell :: sed variable instead of file 
Shell :: powershell invert 
Shell :: Numeric calculations 
Shell :: how to extract sequential files multiple zip files at once 
Shell :: Sync two local directories in a Linux machine 
Shell :: phpstorm wsl scanning files to index very solw 
Shell :: install git on windows 
Shell :: To install latest version of something with pip in python 
Shell :: check git status 
Shell :: powershell datetime to string 
Shell :: apt-get install plex 
Shell :: please install all available updates for your release 
Shell :: rename directory from command line 
Shell :: open terminal in current folder windows 
Shell :: how to install chrome browser on linux mint using terminal 
Shell :: lumbha ram github 
Shell :: mozart install mac 
Shell :: router dom react 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =