This commit is contained in:
Nico Schottelius 2012-01-09 22:44:28 +01:00
commit 1e652569f8

View file

@ -41,7 +41,7 @@ DONE
# change value # change value
cat << DONE cat << DONE
awk -F "$delimiter" ' awk -F "$delimiter" '
/${key}${delimiter}*/{gsub(/$value_is/, "$value_should")};{print}' "$file" > "${file}+" \ /${key}${delimiter}*/{gsub("$value_is", "$value_should")};{print}' "$file" > "${file}+" \
&& mv "${file}+" "$file" && mv "${file}+" "$file"
DONE DONE