republique

helper scripts for www.republique-numerique.fr
git clone https://a3nm.net/git/republique/
Log | Files | Refs | README

escape.sh (137B)


      1 #!/bin/bash
      2 # http://stackoverflow.com/a/12873723/414272
      3 
      4 sed 's/&/\&amp;/g; s/</\&lt;/g; s/>/\&gt;/g; s/"/\&quot;/g; s/'"'"'/\&#39;/g'
      5