From e6abdec69297be949cdce5257619865d8b4835bd Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 3 Jun 2023 04:50:57 -0700 Subject: [PATCH] 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). --- 2019/duble/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2019/duble/README.md b/2019/duble/README.md index a99917ec8..5ff5eee68 100644 --- a/2019/duble/README.md +++ b/2019/duble/README.md @@ -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: