Hi,
I have a script that has awk command( I am not a awk user), something like this:
awk '$0 != "" && $1 !~ /#/ {print $0}' "${FILENAMES}" | while read files
do
....
...
done
where ${FILENAMES} points to a file in the file system (filenames.txt) that has list of SQL script file names that needs to be deployed like this
@test1.sql
@test2.sql
@test3.sql
Now when the script runs the awk command fails with a fatal message:
awk: cmd. line:2: fatal: no (known) protocol supplied in special filename `/oracle/projects/Database/Deployment/filenames.txt'
Any ideas why this would be hapenning?
-Niet.
I have a script that has awk command( I am not a awk user), something like this:
awk '$0 != "" && $1 !~ /#/ {print $0}' "${FILENAMES}" | while read files
do
....
...
done
where ${FILENAMES} points to a file in the file system (filenames.txt) that has list of SQL script file names that needs to be deployed like this
@test1.sql
@test2.sql
@test3.sql
Now when the script runs the awk command fails with a fatal message:
awk: cmd. line:2: fatal: no (known) protocol supplied in special filename `/oracle/projects/Database/Deployment/filenames.txt'
Any ideas why this would be hapenning?
-Niet.