1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00
Grid/scripts/substitute

17 lines
133 B
Plaintext
Raw Normal View History

2015-05-18 16:35:48 +01:00
#!/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