Good Day,
I have a batch file tst.sh which has a thousand or so lines as such -
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.01.07
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.02.07
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.03.14
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.04.25
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.05.33
When running ./tst.sh, I get the following error messages -
: No such file or directorys/query.log.29-Oct-10-23.53.50
: No such file or directorys/query.log.29-Oct-10-23.55.11
: No such file or directorys/query.log.29-Oct-10-23.57.00
: No such file or directorys/query.log.29-Oct-10-23.59.00
When I run each command from the command prompt I have no issue.
What am I missing?
Regards,
Dan
I have a batch file tst.sh which has a thousand or so lines as such -
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.01.07
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.02.07
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.03.14
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.04.25
grep -i DJResultListSEO /opt/autonomy/DAH/logs/query.log.29-Oct-10-00.05.33
When running ./tst.sh, I get the following error messages -
: No such file or directorys/query.log.29-Oct-10-23.53.50
: No such file or directorys/query.log.29-Oct-10-23.55.11
: No such file or directorys/query.log.29-Oct-10-23.57.00
: No such file or directorys/query.log.29-Oct-10-23.59.00
When I run each command from the command prompt I have no issue.
What am I missing?
Regards,
Dan