run-check: swap the diff inputs to get a desired output

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
run-check: pass provided switches down to clufter invocation

Based on only a very approximate decision, but should be OK, most of the
time one want to add "-d" when running the script.

Point of non-switch $1 is when using the script sourced or for similar
experimental uses.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter: when running editor, make sure that stdin=/dev/tty

... as this is easily not true, e.g., when piping input (one of ~)
directly, as children subprocess normally inherits the filedescriptor
map.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter: EDITOR env. var. has a precedence before defaults

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
utils_xml: element_juggler: cope with root elements

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
utils_xml: nselem: allow to add children/text at once

Key is simple: instance of basestring will contribute on the associated
text, other positional arguments are supposed the child nodes.

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter (XSLT): nested comments to survive only in relevant cases

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter (XSLT): better formatting of manual-fix message

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter (XSLT): avoid using out-of-scope variable

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filter (XSLT): None is mere delimiter, restart when observed

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filters/ccsflat2pcsprelude[script]: protect string interpolation

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
filters/pcscompact2pcs[configuration]: disable stonith if reasonable

Also be verbose about not doing it with a desire (message + comment).

Signed-off-by: Jan Pokorný <jpokorny@redhat.com>