The iList command sorts the values in the list in ascending order and removes duplicate values.
Note
Exploit Prevention is not supported in the ARM architecture.
Syntax
iList -d list
Parameter
Parameter | Description |
|---|---|
-d | Indicates that the Any duplicate separators are combined into one before the comparisons are done, any trailing directory characters are removed before the list is returned. If an entry is a subdirectory of another element, only the parent directory is returned. |
Example
set alist {{c:/tmp\\ } {c:\tmp\a} {c:\tmp/b/c} {d:\debug}}
set blist [iList -d $alist]The "blist" list now contains:
{{c:\tmp} {d:\debug}}For more Expert Rules examples, visit the Trellix Github repository.