Title: Message
DEST_DIR=your_desination_directory
SOURCE_DIR=your_source_directory
for
file in `ls $SOURCE_DIR`
do
fn=basename $file
if [ ! -f $DEST_DIR/$fn ]
then
cp $file $DEST_DIR/$fn
fi
done
Hope
it helps.
Allan
-Original Message-From: Sujatha Madan
[mailto:[EMAIL
Yawn...
-Original Message-
Sent: Tuesday, April 16, 2002 10:08 AM
To: Multiple recipients of list ORACLE-L
I have this unix script, please tell me how to change it so it also does the
following:
counts the time between start time and end time of the process(I mean time
difference
Alan,
What do you mean the file is to large for vi? If you are going to string the lines
together be sure that you don't overrun the linitations of the server input line
length. If you need to have continuations in the line I think that the \ tells the
server the command is continued on the
Title: UNIX help needed for sed multi-line pattern space
Alan,
Why not use awk?
cat filename | awk '{if (
substr($0,length($0),1) == ";") {print " " $0 } else {printf($0)
}}'
Hope this helps
Chris
-Original Message-From: Martin, Alan
[mailto:[EMAIL PROTECTED]]Sent: 15