7 lines
120 B
Bash
7 lines
120 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
INPUTFILE=$1
|
||
|
VARIABLE_NAME=$2
|
||
|
VARIABLE_VALUE=$3
|
||
|
|
||
|
sed -i "s/\$$VARIABLE_NAME/$VARIABLE_VALUE/g" "$INPUTFILE"
|