I'm writing an installation script in sh, and would like to substitute a
pattern in a
What try to do is : opening the file with vi, substituing the pattern
by "EXTRA_LIBS=-L/usr/local/lib/mysql -lmysqlclient -lm" with vi
commands, and closing the file.
vi Configuration <<EOF
The substitute command works when executed manually but it doesn't work
in the script.