Fix command to find sockets in 2019/duble

The grep expression in particular was incorrect. This commit fixes the
problem. Note that it doesn't look for lower case letters as there are
legitimate dot files in the repo with lower case letters. Hopefully no
system will leave lower case file sockets lying about (though for all I
know it's the entry deciding it - didn't look into it).
This commit is contained in:
Cody Boone Ferguson committed 2023-06-03 04:50:57 -07:00
1 parent 2646be77d1
commit e6abdec692
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ srwxr-xr-x 1 ioccc staff 0 6 Apr 08:16 .CMDGAELH
To get a list of files with this glob try:
```sh
ls -al |awk '{print $NF}' | grep -E '^\.[A-Z]+'
ls -al|awk '{print $NF}'|grep -E '^\.[A-Z]{2,}'
```
To delete them you can do: