2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

commandref_frame.html: fixed some typos to test the SVN check in. (Forum #55718)

git-svn-id: https://svn.fhem.de/fhem/trunk@11811 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-18 07:30:23 +00:00
parent a2d546a71d
commit 35f04a77bc

View File

@ -1336,9 +1336,9 @@ The following local attributes are used by a wider range of devices:
<a name="backupsymlink"></a> <a name="backupsymlink"></a>
<li>backupsymlink<br> <li>backupsymlink<br>
If this attribute is set to everything else as "no", the archive command tar If this attribute is set to everything else as "no", the archive
will support symlinks in your backup. Otherwise, if this attribute is set to command tar will support symlinks in your backup. Otherwise, if this
"no" symlinks are ignored by tar. attribute is set to "no" symlinks are ignored by tar.
This Attribute is used by the <a href="#backup">backup</a> command.<br> This Attribute is used by the <a href="#backup">backup</a> command.<br>
Example:<br> Example:<br>
<ul> <ul>
@ -1506,15 +1506,15 @@ The following local attributes are used by a wider range of devices:
<a name="perl"></a> <a name="perl"></a>
<h3>Perl specials</h3> <h3>Perl specials</h3>
If you want to automate some tasks via fhem, then you'll probably use <a If you want to automate some tasks via FHEM, then you'll probably use <a
href="#at">at</a> or <a href="#notify">notify</a>. For more complex tasks href="#at">at</a> or <a href="#notify">notify</a>. For more complex tasks
you'll use either a shell-script or a perl "oneliner" as the at/notify you'll use either a shell-script or a perl "oneliner" as the at/notify
argument. This chapter gives some tips in using the perl oneliners.<br><br> argument. This chapter gives some tips in using the perl oneliners.<br><br>
<li>To test perl oneliners, type them on the telnet prompt (or FHEMWEB text <li>To test the following perl oneliners, type them on the telnet prompt (or
input) by enclosing it in {}, one line at once. The last line will only FHEMWEB text input) by enclosing it in {}, one line at once. The last line
write something in the logfile, the output of the other lines is directly will only write something in the logfile, the output of the other lines is
visible. directly visible.
<ul> <ul>
{ "Hello" }<br> { "Hello" }<br>
{ 1+3*4 }<br> { 1+3*4 }<br>
@ -1524,23 +1524,23 @@ The following local attributes are used by a wider range of devices:
<br> <br>
<li> <li>
Perl expressions are separated by ;, in fhem oneliners they have to Perl expressions are separated by ;, in FHEM oneliners they have to
escaped with ;;<br> escaped with ;;<br>
<ul> <ul>
{ my $a = 1+1;; Log 1, "Hello $a" } { my $a = 1+1;; Log 1, "Hello $a" }
</ul> </ul>
<br> <br>
<li>To use fhem commands from the perl expression, use the function fhem(), <li>To use FHEM commands from the perl expression, use the function fhem(),
which takes a string argument, this string will be evaluated as a fhem which takes a string argument, this string will be evaluated as a FHEM
command:<br> command:<br>
<ul> <ul>
{ fhem "set light on" }<br> { fhem "set light on" }<br>
define n1 notify piri:on { fhem "set light on" } define n1 notify piri:on { fhem "set light on" }
</ul> </ul>
Note: if this function returns a value, it will also be logged into the Note: if this function returns a value, it will also be logged into the
global fhem log. Use 1 as a second argument to disable this logging, this global FHEM log. Use 1 as a second argument to disable this logging, this
makes sense when obtainig some values via fhem "get...". makes sense when obtainig some values via FHEM "get...".
<br> <br>
<br> <br>