Hdel

From Scriptwiki
Revision as of 19:36, 20 November 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Deletes an item from a hash table.

/hdel -sw <name> <item>

The -w switch indicates that item is a wildcard, all matching items are freed.

Using the -s switch makes the command disply the result (e.g. * Deleted item 'Dana' from hash table 'users')

Example

hdel users Dana

This example would delete the item called "Dana" from hash table users.

hdel -w users *

This example would delete all items from the hashtable users.