The list() function allows only upto 2 characters for the attributes of entries:
|
/\s*(.+?)\s{6,}([A-Z0-9]{1,2})\s+([0-9]+)\s{2}(.+)/g |
Therefore, entries with 3-character or longer attributes are silently ignored by this function.
An example shown here
filesystems - Meaning of D, H, R, A in smbclient file listings - Super User
has an entry with 3-character attribute DHS:
Start Menu DHS 0 Mon Oct 5 16:08:57 2020