1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 09:45:36 +00:00
Grid/scripts/substitute

18 lines
134 B
Bash
Executable File

#!/bin/bash
export LANG=C
WAS=$1
shift
IS=$1
shift
while (( "$#" )); do
echo $1
sed -e "s@${WAS}@${IS}@g" -i .bak $1
shift
done