mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
be less anal during find output parsing
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1840 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
56a852d7f8
commit
57031325ba
@ -55,7 +55,7 @@ my $curdir;
|
||||
while (<>) {
|
||||
#print;
|
||||
chomp;
|
||||
my ($ino, $blah, $mode, $blah, $nlink, $uid, $gid, $size, $mtime, @path) = split(/ /,$_);
|
||||
my ($ino, $blah, $mode, $nlink, $uid, $gid, $size, $mtime, @path) = split(/[ ]+/,$_);
|
||||
my $file = join(' ',@path);
|
||||
($file) = split(/ \-\> /, $file); # ignore symlink dest
|
||||
my @bits = split(/\//, $file);
|
||||
|
Loading…
Reference in New Issue
Block a user