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

2002-01-25 Thread Jim Angstadt
Hi Craig, Thanks for sharing the script; very nice work. I like it much more than the one I sketched out for you. Depending on your needs, you may want to consider my comments below. Mind the line wrap. --- Craig Sharp <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl -w use strict; > > use

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 a dir tree

2002-01-18 Thread Jim Angstadt
he process. 4. After you verify accuracy, then you can comment out some of the stuff going to mx.txt and concentrate on formatting to your preference. Oh, btw, other list members may be interested in this topic (or not) so I have replied back to the list. This was a quick hack so there are sure

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

2002-01-17 Thread Jim Angstadt
--- [EMAIL PROTECTED] wrote: > Take a look at File::Find. Hi Craig. Here is a little more to get you started. It is certainly not complete but may help. [Tested on win98se and build 521.] Mind the line wrap. # -- # starting with a given dir, # subtotal all files by extension, # f

Re: [Perl-unix-users] Regex problem

2002-01-07 Thread Jim Angstadt
--- Craig Sharp <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a file with lines that are in the following > format: > > 20011219 074645 b03 3524 switch 10.3.xxx.xxx 3 > > I need to do a substitution so that the line appears > as: > > 20011219 074645 b03-3524-switch 10.3.xxx.xxx 3 Another