Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    $arg=$ARGV[0];
    ...
    $arr=`$cmd1`;
    $storage=$1 if($arr=~/^*\s+\/\w+\/\w+\s+(.+)\s+\w+|^*\s+\/\w+\s+(.+)\s
    ++\w+\);
    print "$storage\n";
    
  2. or download this
    $storage=$1 if($arr=~/^*\s+\/\w+\/\w+\s+(.+)\s+\w+|^*\s+\/\w+\s+(.+)\s
    ++\w+\|^*\s+\/\w+\s+(.+)\s+\w+/);