How can I substitute in a filename eg
substitute file_location with u02/oradata
I tried
file_location1=${2:-u03/oradata}
file_location2=${3:-u05/oradata}
cat filename | sed -e 's/file_location/\${file_location1}/g> new file
but this failed.
|
UNIXguide.net
English to Cebuano Dictionary |
Suggest a Site
Cebuano to English Dictionary |