diff options
author | Wayne Davison <wayned@samba.org> | 2006-12-20 00:50:17 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-12-20 00:50:17 +0000 |
commit | 5f4e991c7059cf7887c16bb5cacddc8fb31faf26 (patch) | |
tree | aac05a864589abf2d6bc97cdc907b98be0eff86e /support | |
parent | c96f6eb5840b619cbfe6d0378bd06ef6cf6ac7ae (diff) | |
download | rsync-5f4e991c7059cf7887c16bb5cacddc8fb31faf26.tar.gz |
Fixed the item numbers in the regex comment.
Diffstat (limited to 'support')
-rwxr-xr-x | support/file-attr-restore | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/support/file-attr-restore b/support/file-attr-restore index c4da61ef..a053e1d9 100755 --- a/support/file-attr-restore +++ b/support/file-attr-restore @@ -32,15 +32,15 @@ my $detail_line = qr{ \d+ \s+ # ignore size ([-bcdlps]) # 1. File type ( [-r][-w][-xsS] # 2. user-permissions - [-r][-w][-xsS] # 3. group-permissions - [-r][-w][-xtT] ) \s+ # 4. other-permissions + [-r][-w][-xsS] # group-permissions + [-r][-w][-xtT] ) \s+ # other-permissions \d+ \s+ # ignore number of links - (\S+) \s+ # 5. owner - (\S+) \s+ # 6. group + (\S+) \s+ # 3. owner + (\S+) \s+ # 4. group (?: \d+ \s+ )? # ignore size (when present) \w+ \s+ \d+ \s+ # ignore month and date \d+ (?: : \d+ )? \s+ # ignore time or year - ([^\r\n]+) $ # 7. name + ([^\r\n]+) $ # 5. name }x; while (<>) { |