[PATCH 09/10] doc: Fix ## hack.
Simon Ruderich
simon at ruderich.org
Sat Feb 1 21:57:05 CET 2014
__...__ has the same effect as '...' but can be used "inside" a word, in
contrast to '...' which must be a separate word.
---
This is not much better than ##s## but at least a little shorter.
Feel free to drop this patch.
doc/herbstclient.txt | 5 ++---
doc/herbstluftwm.txt | 16 ++++++++--------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/doc/herbstclient.txt b/doc/herbstclient.txt
index b36cd52..f0800aa 100644
--- a/doc/herbstclient.txt
+++ b/doc/herbstclient.txt
@@ -23,12 +23,11 @@ link:herbstluftwm.html[*herbstluftwm*(1)] instance via Xlib. If 'COMMAND' has an
output, it is printed by *herbstclient*. If output does not end with a newline,
then a newline is added to improve readability.
-// FIXME: this ##s## is an ugly hack... is there an other solution?
See link:herbstluftwm.html[*herbstluftwm*(1)] for a list of available
-'COMMAND'##s## and their 'ARGS'.
+__COMMAND__s and their 'ARGS'.
If '--wait' or '--idle' is passed, then it waits for hooks from *herbstluftwm*.
-The hook is printed, if it matches the optional 'FILTER'. 'FILTER'##s## are
+The hook is printed, if it matches the optional 'FILTER'. __FILTER__s are
regular expressions. For a list of available hooks see *herbstluftwm*(1).
OPTIONS
diff --git a/doc/herbstluftwm.txt b/doc/herbstluftwm.txt
index 737b8aa..b1d4d06 100644
--- a/doc/herbstluftwm.txt
+++ b/doc/herbstluftwm.txt
@@ -786,12 +786,12 @@ compare 'ATTRIBUTE' 'OPERATOR' 'VALUE'::
Compares the value of 'ATTRIBUTE' with 'VALUE' using the comparation method
'OPERATOR'. If the comparation succeeds, it returns 0, else 1. The operators
are:
- - *=*: 'ATTRIBUTE'##\'s## value equals 'VALUE'
- - *!=*: 'ATTRIBUTE'##\'s## value does not equal 'VALUE'
- - *le*: 'ATTRIBUTE'##\'s## value \<= 'VALUE'
- - *lt*: 'ATTRIBUTE'##\'s## value < 'VALUE'
- - *ge*: 'ATTRIBUTE'##\'s## value >= 'VALUE'
- - *gt*: 'ATTRIBUTE'##\'s## value > 'VALUE'
+ - *=*: __ATTRIBUTE__'s value equals 'VALUE'
+ - *!=*: __ATTRIBUTE__'s value does not equal 'VALUE'
+ - *le*: __ATTRIBUTE__'s value \<= 'VALUE'
+ - *lt*: __ATTRIBUTE__'s value < 'VALUE'
+ - *ge*: __ATTRIBUTE__'s value >= 'VALUE'
+ - *gt*: __ATTRIBUTE__'s value > 'VALUE'
::
The 'OPERATORs' *le*,*lt*,*ge*,*gt* can only be used if 'ATTRIBUTE' is of
@@ -1020,12 +1020,12 @@ RULES
Rules are used to change default properties for certain clients when they
appear. Each rule matches against a certain subset of all clients and defines a
-set of properties for them (called 'CONSEQUENCE'##s##). A rule can be defined
+set of properties for them (called __CONSEQUENCE__s). A rule can be defined
with this command:
+rule+ [\[--]'FLAG'|\[--]'LABEL'|\[--]'CONDITION'|\[--]'CONSEQUENCE' ...]
-Each rule consists of a list of 'FLAG'##s##, 'CONDITION'##s## 'CONSEQUENCE'##s##
+Each rule consists of a list of __FLAG__s, __CONDITION__s, __CONSEQUENCE__s
and, optionally, a 'LABEL'. (each of them can be optionally prefixed with two
dashes (+--+) to provide a more *iptables*(8)-like feeling).
--
1.8.5.3
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20140201/ba241c2e/attachment.asc>
More information about the hlwm
mailing list