On 05/30/14 10:32, Mike Cherba wrote:
> I'd search for it by simply referring to "~" by it's name "tilde"  However,
> a quick check reveals the standard bash tilde expansion and doesn't talk
> about what a pair of tildes might expand to.
> http://www.gnu.org/software/bash/manual/html_node/Tilde-Expansion.html
>
> Another possibility, which seems more likely is checking out the Linux
> Hotplug syntax page.  There  they use lines of tildes to designate code
> blocks.  I'd guess from the text you posted that this is what is going on
> here.  They are being used to designate a named block or something.

You are correct.  The '~~' is hotplug-specific syntax.

<http://code.google.com/p/hotplug2/source/browse/trunk/docs/rules.txt#24>

"Operators "==" and "!=" check for string equality and inequality, 
respectively. Operators "~~" and "!~" perform regex match. The "is set" 
and "is unset" conditions check whether the variable has any value at all."


galen
-- 
Galen Seitz
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to