Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $files = 0;
    
    push(@dirs, $dir_init);
    
  2. or download this
    foreach my $directory (@dirs) {
        opendir (DIR, $directory) or die ("Can't open dir: '$directory'.\n
    +Reason: $!");
    ...
        $text =~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g;
        return scalar reverse $text;
    }
    
  3. or download this
    perl fszTop10.pl /u2/integ 10
    
  4. or download this
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Total number of files examined: 2331
    ...
    2,561
            /u2/integ/t096351/.Xauthority
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~