Re: a script to remove empty directories

2004-02-19 Thread Robert Collins
On Fri, 2004-02-20 at 01:56, Andreas Seidl wrote: > Igor Pechtchanski wrote: > > Andreas, > > > > Feel free to send a patch for this. ;-) > > Igor > > I have written the following script, which is as good as I can do at the > moment. And is utterly useless. Cygwin setup is written in C/C++.

Re: a script to remove empty directories

2004-02-19 Thread Robert Collins
On Fri, 2004-02-20 at 01:56, Andreas Seidl wrote: > Igor Pechtchanski wrote: > > > > Feel free to send a patch for this. ;-) > > Igor > > I have written the following script, which is as good as I can do at the > moment. Oh . I'm sorry, I replied to the wrong thread with my previous ema

Re: a script to remove empty directories

2004-02-19 Thread Igor Pechtchanski
On Thu, 19 Feb 2004, Andreas Seidl wrote: > Bruce Ingalls wrote: > > > Anyhow, here is an elegant, working solution. If no optional dir is > > passed, then the current dir is checked recursively, and empty > > subdirectories are passed. > > > > #!/bin/bash > > ROOT=${1:-.} > > if [ ! -d $ROOT ];th

Re: a script to remove empty directories

2004-02-19 Thread Andreas Seidl
Dr. Volker Zell wrote: Here is another one from o http://www.shelldorado.com/scripts/categories.html I searched with Google, but did not find it... --- cut here --- : # rmemptydir - remove empty directories # Heiner Steven ([EMAIL PROTECTED]), 2000-07-17 # #

Re: a script to remove empty directories

2004-02-19 Thread Andreas Seidl
Bruce Ingalls wrote: Anyhow, here is an elegant, working solution. If no optional dir is passed, then the current dir is checked recursively, and empty subdirectories are passed. #!/bin/bash ROOT=${1:-.} if [ ! -d $ROOT ];then ROOT=.;fi find $ROOT -type d -empty|xargs rmdir - Meanwhile I was ab

Re: [Review - good to go] unrtf-0.19.0

2004-02-19 Thread Joshua Daniel Franklin
On Thu, Feb 19, 2004 at 09:09:16AM -0500, Igor Pechtchanski wrote: > On Wed, 18 Feb 2004, Jari Aalto+mail.linux wrote: > > > mkdir unrtf ; cd unrtf > > wget -q -O - http://tierra.dyndns.org:81/cygwin/unrtf/get.sh | sh > > This is now good to go, and can be uploaded as soon as it gathers the > nec

Re: [Review - good to go] unrtf-0.19.0

2004-02-19 Thread Dr. Volker Zell
> "Igor" == Igor Pechtchanski writes: Igor> This is now good to go, and can be uploaded as soon as it gathers the Igor> necessary votes. Here is one Igor> Igor Ciao Volker

Re: a script to remove empty directories

2004-02-19 Thread Dr. Volker Zell
> "Andreas" == Andreas Seidl writes: Andreas> I have written the following script, which is as good as I can do at Andreas> the moment. Andreas> - begin - Andreas> #!/usr/bin/bash Andreas> # rmed -- remove empty directories recursively Andreas> # usage: rmed [D

Re: a script to remove empty directories

2004-02-19 Thread Bruce Ingalls
Andreas Seidl wrote: Igor Pechtchanski wrote: On Wed, 18 Feb 2004, Andreas Seidl wrote: Hmm, wouldn't the generic build script be the place to add functionality to remove empty directories? Doing it by hand adds work, and even worse, is a possible source for bugs, as a newer release might have

a script to remove empty directories

2004-02-19 Thread Andreas Seidl
Igor Pechtchanski wrote: On Wed, 18 Feb 2004, Andreas Seidl wrote: Hmm, wouldn't the generic build script be the place to add functionality to remove empty directories? Doing it by hand adds work, and even worse, is a possible source for bugs, as a newer release might have actually files in directo

[Review - good to go] unrtf-0.19.0

2004-02-19 Thread Igor Pechtchanski
On Wed, 18 Feb 2004, Jari Aalto+mail.linux wrote: > * Tue 2004-02-17 Igor Pechtchanski > | > | Not quite. I'd put the whole shebang (starting with "UnRTF") in > | setup.hint, i.e., > | > | sdesc: "Convert RTF to other formats, including HTML, LaTeX, text, and PostScript." > | ldesc: "UnRTF is a m