On Monday 11 June 2001 10:21, Henry Poras wrote:
> Jared,
> Thanks for the summary. Any comments on where Tcl fits in to the mix?
>
I've not used TCL, so I can't really say too much about it. It is generally
considered simpler than Perl, and likewise less robust.
TK is another matter. If you
Jared,
Thanks for the summary. Any comments on where Tcl fits in to the mix?
Henry
-Original Message-
Sent: Friday, June 08, 2001 5:11 PM
To: Multiple recipients of list ORACLE-L
Let me start off by saying that I like Java. I took a class
in it from Sun, and Java is easy. Learning
Thanks Jared!
Off to find my first Perl Book :) I've seen on the list the things you do
with perl scripts, and have to say I'm always impressed..
Mark
-Original Message-
Sent: Friday, June 08, 2001 10:11
To: Multiple recipients of list ORACLE-L
Let me start off by saying that I like
com> cc:
Sent by: Fax to:
root@fatcity. Subject: Re: du
Let me start off by saying that I like Java. I took a class
in it from Sun, and Java is easy. Learning the libs is hard
but the language is easy.
I'm going to say something now that may sound counter intuitive:
Learn Perl first. The reason it may seem counter intuitive is
that Perl is hard t
A quick question - I have VERY limited scripting experience - for arguments
sake, lets say - none:)
Now, looking at the code below, and having started with java a short time
ago to implement certain functions in to our web page, I have to say that
they look similar in style.. Is the case? Could I
Well, you've got the right idea, just in the
wrong order.
The korn shell does not compile the whole script
and then execute as say Perl does.
It executes it a line at a time.
So rearrange your script like so:
==
#!/bin/ksh
function quick_test {
echo "h
Thank you Michael and Balaji. It works! I'm still in
vb mind. vb is what I was doing. shell script is a
mistery to me.
--- Janet Linsy <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> This must be a really dumn question. :-<
>
> I have a script which doesn't work well, since it
> doesn't recognize
Hi all,
This must be a really dumn question. :-<
I have a script which doesn't work well, since it
doesn't recognize a subroutine. I compared my code
with other codes that work fine with sub function, and
didn't see any difference. (at least look the same
style to me.)
So I wrote a really sm
iple recipients of list ORACLE-L
> Subject: Unix script question
>
>
> I am looking to resolve an issue we have with a particular script.
>
> using a unix script, I need to determine if a file exists and if
> the size of the
> file is zero bytes. using ftp, we put a file a
check the man page;
$ man test
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roy
> Ferguson
> Sent: Wednesday, January 31, 2001 2:48 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Unix script question
>
>
>
Charlie,
You could also do this:-
if [ -f check_file ] 2> /dev/null; then # any error messages are not
diplayed.
ftp ... # write the file name after ftp
fi
Tell me if you still have problems and can help.
Regards,
Raja
--
On Wed, 31 Jan 2001 13
You can do an ls -s command on the file which will return a zero block count
in the first column. If this is true don't even bother with the ftp.
Ron Smith
Database Administration
[EMAIL PROTECTED]
-Original Message-
Sent: Wednesday, January 31, 2001 1:48 PM
To: Multiple recipients of
You can also do a find filename -size 0. If you return the filename, the
file has zero blocks.
Ron Smith
Database Administration
[EMAIL PROTECTED]
-Original Message-
Sent: Wednesday, January 31, 2001 1:48 PM
To: Multiple recipients of list ORACLE-L
I am looking to resolve an issue we
t; To: Multiple recipients of list ORACLE-L
> Subject: RE: Unix script question
>
>
> You can also do a find filename -size 0. If you return the filename, the
> file has zero blocks.
>
> Ron Smith
> Database Administration
> [EMAIL PROTECTED]
>
>
> -
"Hand, Michael T" wrote:
>
> Roy,
> I would stick with the test commands you are using. One point, the -s tests
> two condition: does the file exist AND is it > 0 bytes, therefore you will
> have to break up you test into 2 parts
> test -adoes the file exist, and then
> test -s
>
> Regar
Roy,
I would stick with the test commands you are using. One point, the -s tests
two condition: does the file exist AND is it > 0 bytes, therefore you will
have to break up you test into 2 parts
test -adoes the file exist, and then
test -s
Regards,
Mike Hand
Polaroid Corp
-Original Me
I am looking to resolve an issue we have with a particular script.
using a unix script, I need to determine if a file exists and if the size of the
file is zero bytes. using ftp, we put a file a file on a server then we use get
to retreive the same file back. we do this to ensure that the file
18 matches
Mail list logo