From: Wayne Davison Date: Sat, 2 Sep 2006 20:05:08 +0000 (+0000) Subject: A slight simplification to the last change. X-Git-Tag: v2.6.9pre1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71f9e4673e5991f3ee149e8d41d5767371589fcb;p=thirdparty%2Frsync.git A slight simplification to the last change. --- diff --git a/support/file-attr-restore b/support/file-attr-restore index 7238b00f..c4da61ef 100755 --- a/support/file-attr-restore +++ b/support/file-attr-restore @@ -48,7 +48,7 @@ while (<>) { die "Invalid input line $.:\n$_" unless defined $name; die "A filename is not properly escaped:\n$_" unless $name =~ /^[^"\\]*(\\(\d\d\d|\D)[^"\\]*)*$/; my $fn = $name; - $fn =~ s/\\(\d+|[A-Za-z]|.)/ eval "\"\\$1\"" /eg; + $fn =~ s/\\(\d+|.)/ eval "\"\\$1\"" /eg; if ($type eq '-') { undef $type unless -f $fn; } elsif ($type eq 'd') {