Re: rmdir when directory is not empty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 4:13 PM -0800 12/22/05, jdow wrote:
>From: "Tony Nelson" <tonynelson@xxxxxxxxxxxxxxxxx>
>
>> At 1:42 PM -0600 12/22/05, Mike McCarty wrote:
>> ...
>>>Being myself a great RTFM advocate, as well as a "learn how to use
>>>the tools" advocate, here's how I would have done the search you needed.
>>>
>>>$ apropos remove
>>>[great honkin' long list too difficult to see, even with less]
>>>$ apropos remove | grep file
>
>Of course you could prune further:
>apropos remove|grep file|grep \(1\)
>
>But I think I'm getting silly again.
>
>{^_-}

Just to note, I didn't write any of the quoted text.  What I wrote:

>Plug:  <http://georgeanelson.com/apropos2.htm>

Using apropos2 makes grep "silliness" unnecessary.  One can say:

    apropos remove file

and get only the entries with both "remove" and "file", rather than the
original apropos behavior of all the entries with "remove" and then all the
entries with "file".  One can also say:

    apropos remove file 1

which is a bit sloppy in that it will allow a "1" anywhere, but seems good
enough for the purpose.  (I don't usually specify the section as sometimes
the answer I need is in, say, section 8.)

Apropos2 could be made part of the standard man distribution if enough
people used it and commented favorably on it to the man package maintainer.
It could even be packaged for Fedora Extras if a FE packager wants to do it.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux