var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: OS Script problem
I m tryin to write a script to collect the logs from iqmsg file as the file is to large i hav to grep the log messages of particular time.
The format of the messages in the file is as
i wrote the script as following
iqmsg=`date +%m`/`date +%d`
grep $test1 $dir2 > /opt/sybase/SCRIPTS/logs/iqmsglog
o/p of echo is "06/11 14"
when i use
$ grep "06/11 14" /sybasedata/sybasemydb.iqmsg >/opt/sybase/SCRIPTS/logs/iqmsglog
it greps the required information into /opt/sybase/SCRIPTS/logs/iqmsglog
but when i tried to do the same thing from inside the script it gives me the error:
grep: 0652-033 Cannot open 20".
can anybody help me in this i am using AIX OS.
change the bit that says
grep "$test1" $dir2