Re: bash, perl, C

2005-01-07 Thread Gerard Robin
On Sat, Jan 08, 2005 at 01:00:37AM +0100, Rabin Vincent wrote: > On Sat, 8 Jan 2005 00:18:33 +0100, Gerard Robin <[EMAIL PROTECTED]> wrote: > > If i use the sleep of Perl there nothing is displayed at though with the > > sleep > > of the shell the numbers 5 4 3 2 1 0 are displayed as I want. > > A

Re: bash, perl, C

2005-01-07 Thread Frank Gevaerts
On Sat, Jan 08, 2005 at 12:18:33AM +0100, Gerard Robin wrote: > On Sat, Jan 08, 2005 at 10:32:57AM +1300, Andrew Walbran wrote: > > On Sat, 08 Jan 2005 6:28 am, Gerard Robin wrote: > > > Hello, > > > can someone explain to me if it is possible that the functions sleep of C > > > and Perl work like

Re: bash, perl, C

2005-01-07 Thread Rabin Vincent
On Sat, 8 Jan 2005 00:18:33 +0100, Gerard Robin <[EMAIL PROTECTED]> wrote: > If i use the sleep of Perl there nothing is displayed at though with the sleep > of the shell the numbers 5 4 3 2 1 0 are displayed as I want. > And, I don't understand why the sleep of Perl doesn't work ? The sleep funct

Re: bash, perl, C

2005-01-07 Thread CW Harris
On Sat, Jan 08, 2005 at 12:18:33AM +0100, Gerard Robin wrote: [...] > > I think that my question was not very clear. > > timerest3.pl in fact is a subroutine in a little script Perl that I wrote > myself ( I am not a student who expect that others do his work :-)) > In that subroutine I wrote >

Re: bash, perl, C

2005-01-07 Thread Gerard Robin
On Sat, Jan 08, 2005 at 10:32:57AM +1300, Andrew Walbran wrote: > On Sat, 08 Jan 2005 6:28 am, Gerard Robin wrote: > > Hello, > > can someone explain to me if it is possible that the functions sleep of C > > and Perl work like the function sleep of bashin this scripts and program: > > 'man 1 sleep

Re: bash, perl, C

2005-01-07 Thread Gerard Robin
On Fri, Jan 07, 2005 at 01:11:44PM -0500, Ben Bettin wrote: > Why not run it and find out? Seems a lot quicker than to wait for a > reply from a mailing list. It too me longer to write this email than > it'd take you to run those programs/scripts. > > Have a Nice Day. > > Ben Sorry have a good

Re: bash, perl, C

2005-01-07 Thread Andrew Walbran
On Sat, 08 Jan 2005 6:28 am, Gerard Robin wrote: > Hello, > can someone explain to me if it is possible that the functions sleep of C > and Perl work like the function sleep of bashin this scripts and program: 'man 1 sleep' explains what sleep does in bash; 'man 3 sleep' explains what sleep does

Re: bash, perl, C

2005-01-07 Thread Ben Bettin
Why not run it and find out? Seems a lot quicker than to wait for a reply from a mailing list. It too me longer to write this email than it'd take you to run those programs/scripts. Have a Nice Day. Ben On Fri, 7 Jan 2005 18:28:01 +0100, Gerard Robin <[EMAIL PROTECTED]> wrote: > Hello, > can

bash, perl, C

2005-01-07 Thread Gerard Robin
Hello, can someone explain to me if it is possible that the functions sleep of C and Perl work like the function sleep of bashin this scripts and program: Bash: #timerest1.sh #!/bin/bash echo "The processus will start in 5 seconds" echo i=0 for i in `seq 6`; do echo -ne "\e[0;46;31m $[ 6-$i