2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@10732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2016-02-06 08:48:07 +00:00
parent 897dbd9107
commit 4f900cfa5d
3 changed files with 2529 additions and 943 deletions

View File

@ -1,5 +1,7 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- change: 57_Calendar: complete rewrite
see http://forum.fhem.de/index.php/topic,48315.0.html
- feature: new events for home automation buttons and unassigned buttons
- feature: 10_KOPP_FC: added blinds and switches
- updated: 74_AMAD: New Mijor Release 1.2.0

File diff suppressed because it is too large Load Diff

View File

@ -138,6 +138,26 @@ ECMD_DoInit($)
sub
dq($)
{
=for comment
'\a' => "\\a",
'\e' => "\\e",
'\f' => "\\f",
'\n' => "\\n",
'\r' => "\\r",
'\t' => "\\t",
);
$s =~ s/\\/\\\\/g;
foreach my $regex (keys %escSequences) {
$s =~ s/$regex/$escSequences{$regex}/g;
}
$s =~ s/([\000-\037])/sprintf("\\%03o", ord($1))/eg;
=cut
my ($s)= @_;
$s= "<nothing>" unless(defined($s));
return "\"" . escapeLogLine($s) . "\"";