[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #61774] Docs for find -delete out of sync
From: |
admin4 |
Subject: |
Re: [bug #61774] Docs for find -delete out of sync |
Date: |
Wed, 2 Feb 2022 18:28:41 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 |
nah my mistake now got it:
simplify in this context means: find should get rid of the -delete
("simplify")
because, (UNIX Philosophy)
* *Write programs that do one thing and do it well.*
* *Write programs to work together.*
* *Write programs to handle text streams, because that is a universal
interface.*
find . -name *.doc -exec rm -rf {} \; # does the same as find . -name
*.doc -delete
Malcolm Douglas McIlroy <https://en.wikipedia.org/wiki/Douglas_McIlroy>:
“Everything was small… and my heart sinks for Linux when I see the size
of it. […]
The manual page <https://en.wikipedia.org/wiki/Man_page>, which really
used to be a manual /page/, is now a small volume, with a thousand options…
*We used to sit around in the Unix Room saying, ‘What can we throw out?
Why is there this option?’*
*It’s often because there is some deficiency in the basic design* — you
didn’t really hit the right design point.
Instead of adding an option, think about what was forcing you to add
that option.” (src: https://en.wikiquote.org/wiki/Doug_McIlroy)
https://dwaves.de/2017/05/02/the-unix-philosophy-simple-and-beautiful-so-it-just-works/
PS: "encourage close communication" why has communications become so
little fun? X-D https://ytpak.net/watch?v=JoVQTPbD6UY
ok that's gonna be the last mail because do not want to bother