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
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
environmen
2:41 PM
Please respond 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 an
"Ron Thomas"
.com>cc:
Sent by: Subject
ROTECTED]
08/26/02 02:41 PMcc:
Please respond toSubject: RE: Unix scripting n
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 O
> 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
-- [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
hi
for a in *.log; do echo $A; done
for a in $(ls /*.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 wi
BDY.RTF
Description: RTF file
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
wh
11 matches
Mail list logo