Search Results

Search: Posts Made By: ace2000
3,490
Posted By ace2000
It turned out to be my Windows editor causing the...
It turned out to be my Windows editor causing the problem. I was FTP'ing the file back to Unix after the edit. It's working great now.

Thanks for your help!
3,490
Posted By ace2000
Yes, but why does it work fine from the command...
Yes, but why does it work fine from the command line then? I think it's a syntax error in some way.
3,490
Posted By ace2000
You're right... I was testing that way. Ok, in...
You're right... I was testing that way. Ok, in the example above I edited them out, and it still won't work.

I'm getting this error message:

oratab_loop.ksh[2]: ^M: not found.
' is not...
3,490
Posted By ace2000
script question
Anyone know why this won't work?

#!/usr/bin/ksh

for db in `cat /etc/oratab|egrep ':N|:Y' | grep -v \* | cut -f1 -d":"`

do
echo "************************"
echo "database...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy