Changeset 6d3005f for obfuscate.sh
- Timestamp:
- 08/07/2014 09:20:13 AM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 7.10, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 6f88eb2
- Parents:
- c41b38f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
obfuscate.sh
rc41b38f r6d3005f 1 #!/bin/sh 1 #!/bin/bash 2 3 # $LastChangedBy$ 4 # $Date$ 2 5 3 6 # obfuscate.sh … … 31 34 link=`echo $i | perl -pe 's/[^\n]/"\\\&#".ord($&)."\;"/ge'` 32 35 plaintext=`echo $i | sed -e 's|@| AT |' -e 's|\.| D0T |g'` 33 cp ${1} ${1}.tmp36 cp ${1}{,.tmp} 34 37 sed -e "s|mailto:$i|mailto:$link|" \ 35 38 -e "s|$i|$plaintext|" ${1}.tmp > ${1}
Note:
See TracChangeset
for help on using the changeset viewer.