Re: [Perl-unix-users] URGENT - file types and sizes total in a dir tree

2002-01-21 Thread Jim Angstadt
--- Craig Sharp <[EMAIL PROTECTED]> wrote: > Jim, > > Thanks for the updated info. I actually received a > script from another user in the group that was able > to get the information right away. I got the script > prior to receiving yours. I will send you the > script if you would like to hav

Re: [Perl-unix-users] URGENT - file types and sizes total in adir tree

2002-01-21 Thread Craig Sharp
Jim, Thanks for the updated info. I actually received a script from another user in the group that was able to get the information right away. I got the script prior to receiving yours. I will send you the script if you would like to have a look. I still am planning to review your script

Re: [Perl-unix-users] silly question...

2002-01-21 Thread Edward G. Orton
- Original Message - From: "Geoff Ellis" <[EMAIL PROTECTED]> To: "Unix (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 9:59 AM Subject: [Perl-unix-users] silly question... > could someone tell me how to pad right to left with spaces in a srintf > function.. > ie. how to con

[Perl-unix-users] (no subject)

2002-01-21 Thread roboz
Hi All,       Please help me! Why doesn't the counter label count in real time in my Tcl/tk Perl script, though I configure the '$counter' label at all changes of  the "$i" variable.   Thanks: R. Beci      #!/usr/bin/perl -w   use strict;use Tk;$|=1;   # Create main windowmy $main = Main

Re: [Perl-unix-users] silly question...

2002-01-21 Thread Jason Purdy
Hrmmm ... need some more details - are you always expecting to put 4 0's at the end? If so, it would be a simple: $data = '001023'; sprintf ( "%s", $data ); Don't use %d in the printf() - that will strip away the leading 0's. Jason If memory serves me right, on Monday 21 January 2002 09:

Re: [Perl-unix-users] silly question...

2002-01-21 Thread Kuhnibert
this helps? TK im /u2/dbs> perl -e 'printf "%-10sblabla","001023";' 001023blabla same with sprintf with regard to the format till > could someone tell me how to pad right to left with spaces in a srintf > function.. > ie. how to convert "001023" into "001023" where s is a space.. > > t

[Perl-unix-users] silly question...

2002-01-21 Thread Geoff Ellis
could someone tell me how to pad right to left with spaces in a srintf function.. ie. how to convert "001023" into "001023" where s is a space.. tia Geoff ___ Perl-Unix-Users mailing list. To unsubscribe go to http://listserv.ActiveState.com/mail

Re: [Perl-unix-users] PERL C COMPILER PROBLEMS

2002-01-21 Thread Kuhnibert
The basic steps to build and install perl5 on a Unix system with all the defaults are: rm -f config.sh Policy.sh sh Configure -de make make test so simply provide -Dcc=gcc (or with the path fully qualified) in addition when running sh Configure till Thanks for

RE: [Perl-unix-users] PERL C COMPILER PROBLEMS

2002-01-21 Thread bulsa
Thanks for the reply, but I didn't understand what you mean(Sorry). Bulent -Original Message- From: Kuhnibert [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 1:44 PM To: Bülent Şahin; [EMAIL PROTECTED] Subject: Re: [Perl-unix-users] PERL C COMPILER PROBLEMS check out the INST

Re: [Perl-unix-users] PERL C COMPILER PROBLEMS

2002-01-21 Thread Kuhnibert
check out the INSTALL doc, more precisely the following section ... If you find that your default C compiler is not ANSI-capable, but you know that an ANSI-capable compiler is installed on your system, you can tell F to use the correct compiler by means of the C<-Dcc=> command-line option -- see

[Perl-unix-users] PERL C COMPILER PROBLEMS

2002-01-21 Thread bulsa
Hi, I am a newbie on Unix, Perl and C. So I am hopeless. I get bored with compilation problems. Let me explain: I installed gcc v.2.95.2, Activeperl 5.6.1631 on my Solaris 2.8 box. Perl thinks that I have a installed version "cc", so when I try to install a Perl module, it creates a Makefile whic