I want to know the "someName" and set it to a value.ngbb/someName/bld/one.txt ngbb/someName/bld/two.txt
system("find /clear/pp_00/ngbb/ -name '*.txt' > CCfiles"); open (OUT , "CCfiles" ) or die " can't open CCfiles\n"; while (<OUT>) { $_ =~ m/^//\w+////; print "the someName dir is $_\n"; }
In reply to path greping by Sara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |