Changeset 6d3005f for obfuscate.sh


Ignore:
Timestamp:
08/07/2014 09:20:13 AM (7 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 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, krejzi/svn, nosym, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
6f88eb2
Parents:
c41b38f
Message:

revert some accidentally pulled changes from my environment

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13848 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obfuscate.sh

    rc41b38f r6d3005f  
    1 #!/bin/sh
     1#!/bin/bash
     2
     3# $LastChangedBy$
     4# $Date$
    25
    36# obfuscate.sh
     
    3134  link=`echo $i | perl -pe 's/[^\n]/"\\\&#".ord($&)."\;"/ge'`
    3235  plaintext=`echo $i | sed -e 's|@| AT |' -e 's|\.| D0T |g'`
    33   cp ${1} ${1}.tmp
     36  cp ${1}{,.tmp}
    3437  sed -e "s|mailto:$i|mailto:$link|" \
    3538      -e "s|$i|$plaintext|" ${1}.tmp > ${1}
Note: See TracChangeset for help on using the changeset viewer.