diff --git a/btrbk b/btrbk index e374fed..34d920a 100755 --- a/btrbk +++ b/btrbk @@ -4236,7 +4236,6 @@ sub print_formatted(@) $format = $default_format; } - print $fh "$title\n" if($title); if($format eq "raw") { # output: key0="value0" key1="value1" ... @@ -4282,6 +4281,11 @@ sub print_formatted(@) } } + # print title + if($title) { + print $fh "$title\n"; + } + # print keys (headings) unless($args{no_header}) { my $fill = 0;