wiki:waue/2010/0615
#!/bin/bash
INPUT=$1;
OUTPUT=$2;
grep -r "$INPUT" * | awk 'BEGIN {FS=":"} {print $1}' | xargs sed -i "s/$INPUT/$OUTPUT/g"
Last modified 14 years ago Last modified on Jun 15, 2010, 12:06:08 PM