Changes between Initial Version and Version 1 of waue/2010/0615


Ignore:
Timestamp:
Jun 15, 2010, 12:06:08 PM (14 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2010/0615

    v1 v1  
     1{{{
     2#!/bin/bash
     3INPUT=$1;
     4OUTPUT=$2;
     5grep -r "$INPUT" * | awk 'BEGIN {FS=":"} {print $1}' | xargs sed -i "s/$INPUT/$OUTPUT/g"
     6}}}