# to be in $tf.
sub parsefsys () {
my ($dopts,$dopt);
- if ($tf =~ m,^(/\S*)\s+(\w+)([,0-9a-z]+)$,) {
+ if ($tf =~ m#^(/\S*)\s+(\w+)([,0-9a-z]+)$#) {
# Line of form '/file/system dumptype[,options]'
$atf= $1;
$tm= $2;
stat $atf or die "stat $atf: $!";
-d _ or die "not a dir: $atf";
$rstr= '';
- } elsif ($tf =~ m,^(/\S*)\s+(\w+)([,0-9a-z]+)\s+(\w+)$,) {
+ } elsif ($tf =~ m#^(/\S*)\s+(\w+)([,0-9a-z]+)\s+(\w+)$#) {
# Line of form '/file/system dumptype[,options] prefix'
# (used for remote backups)
$atf= $1;