2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

fhem.pl: version patch (Forum #41726)

git-svn-id: https://svn.fhem.de/fhem/trunk@9398 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-10-07 12:10:54 +00:00
parent 06186947bf
commit c7438a53a2

View File

@ -2654,7 +2654,7 @@ CommandVersion($$)
push @ret, grep(/\$Id. [^\$\n\r].+\$/, <FH>);
}
}
@ret = map {/\$Id. (\S+) (.+?)\$/ ? sprintf("%-".$max."s %s",$1,$2) : $_}
@ret = map {/\$Id. (\S+) (\d+) (.+?)\$/ ? sprintf("%-".$max."s %5d %s",$1,$2,$3) : $_}
@ret;
return sprintf("%-".$max."s %s","File","Rev Last Change\n\n").