Title |
Test
Find
UNIX ls -l
|
Expression |
^([A-Za-z\-]+)\s+(\w+)\s+([A-Za-z0-9_\-\.]+)\s+([A-Za-z0-9_\-\.]+)\s+(\d+)\s+(.{3} [0-9 ]{2} ([0-9][0-9]:[0-9][0-9]| [0-9]{4}))\s+(.+)$ |
Description |
GLOB the output of an "ls -l" command to extract specific details. It takes into account issues with older files/directories having a year in place of an hour:minute entry. |
Matches |
drwxr-xr-x 5 user dba 1024 Sep 24 21:24 dirname |
Non-Matches |
drwxr-xr-x 5 user dba 1024 Sep 24_21:24 dirname |
Author |
Rating:
Not yet rated.
Donald Kemper
|
Source |
|
Your Rating |
|