diff --git a/2019/duble/README.md b/2019/duble/README.md index 9b04f3b9d..a99917ec8 100644 --- a/2019/duble/README.md +++ b/2019/duble/README.md @@ -29,6 +29,9 @@ Open another window / terminal. Open more terminals and repeat... +### INABIAF - it's not a bug it's a feature! :-) + + WARNING: if the file is deleted it might lock any session still in use. These will have to be killed from another shell session or by closing the terminal tab. @@ -44,6 +47,20 @@ 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]+' +``` + +To delete them you can do: + +```sh +find . -name '.[A-Z]*' -delete +``` + +though one might want to check that the program is not currently running. :-) + ### Alternate code: An alternate version of this entry, [prog.alt.c](prog.alt.c), is provided. This alternate diff --git a/bugs.md b/bugs.md index 1deb29dcd..3581bb66e 100644 --- a/bugs.md +++ b/bugs.md @@ -2086,6 +2086,20 @@ This is NOT a bug and you'll have to (at least at this time?) delete the files manually. You shouldn't have to worry about these being added to git: it seems to ignore sockets (it did at least in macOS). +NOTE: To get a list of files with this glob try: + +```sh +ls -al |awk '{print $NF}' | grep -E '^\.[A-Z]+' +``` + +To delete them you can do: + +```sh +find . -name '.[A-Z]*' -delete +``` + +though one might want to check that the program is not currently running. :-) + ## [2019/ciura](2019/ciura/prog.c) ([README.md](2019/ciura/README.md)) ## STATUS: known bug - please help us fix