RE: Unix scripting need help

2002-08-30 Thread Jamadagni, Rajendra
Unix scripts is one thing I don't worry much and am taking my own time to learn those with Perl. We got a fantastic bunch of Unix admins who are just waiting for challenges and always deliver. It is bad (for me) and good (that I can spend more time on Oracle issues like chasing OWS personnel and

RE: Unix scripting need help

2002-08-28 Thread Brian_P_MacLean
: RE: Unix scripting need help [EMAIL PROTECTED

RE: Unix scripting need help

2002-08-28 Thread Jared . Still
to ORACLE-L To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED] cc: Subject:RE: Unix scripting need help Blimey! Doesn't anyone know korn shell out there any more. Perl perl perl -- that's all I ever hear anymore. It gets old... (I'm gonna have to buy

RE: Unix scripting need help

2002-08-28 Thread Reginald . W . Bailey
I've been an Oracle DBA and developer for many years (more than 10) and I have also been a Unix Sys Admin (about 5 years). I am used to playing god with the server , where I am the DBA and the System Administrator. (Of course these days, a lot of companies and clients want a segregated

Unix scripting need help

2002-08-26 Thread Sinardy Xing
Hi all, For example, my files are like these mylogfile001.log mylogfile002.log I want to initialize my variables with those number, like this i=1 for all_file in `ls -1 /tmp` do file$i=all_file i=i+1 done file_tag1=`unix_command $file1 ` --- help me here

RE: Unix scripting need help

2002-08-26 Thread cosltemp-g . manoj
BDY.RTF Description: RTF file

Re: Unix scripting need help

2002-08-26 Thread Markus Reger
hi for a in *.log; do echo $A; done for a in $(ls path/*.log); do echo $; done instead of echo use whatever you need. [EMAIL PROTECTED] 08/26/02 12:31 PM Hi all, For example, my files are like these mylogfile001.log mylogfile002.log I want to initialize my variables

RE: Unix scripting need help

2002-08-26 Thread Steven Lembark
-- [EMAIL PROTECTED] echo $all_file | sed 's/mylogfile//g' | sed 's/\.log//g echo $file | sed 's/[^0-9]//g' avoids problems if someone decides to add a dash or sometning into the name. -- Steven Lembark 2930 W. Palmer Workhorse Computing

Re: Unix scripting need help

2002-08-26 Thread Steven Lembark
For example, my files are like these mylogfile001.log mylogfile002.log I want to initialize my variables with those number, like this i=1 for all_file in `ls -1 /tmp` do file$i=all_file i=i+1 done file_tag1=`unix_command $file1 ` --- help me here when

RE: Unix scripting need help

2002-08-26 Thread kkennedy
Blimey! Doesn't anyone know korn shell out there any more. Perl perl perl -- that's all I ever hear anymore. It gets old... (I'm gonna have to buy Jared's book one of these days). x=${file1%.log} file_tag1=${x#mylogfile} Kevin Kennedy First Point Energy Corporation If you take RAC out of

RE: Unix scripting need help

2002-08-26 Thread Ron Thomas
] 08/26/02 02:41 PMcc: Please respond toSubject: RE: Unix scripting need help ORACLE