Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed excape all special charators

echo "'"'[]`~!@#$%^&*()-_=+{}|;:",<.>/?' | sed 's/[][`~!@#$%^&*()-_=+{}|;:",<.>/?'"'"']/&/g'
Source by www.unix.com #
 
PREVIOUS NEXT
Tagged: #sed #excape #special #charators
ADD COMMENT
Topic
Name
9+6 =