<<< Date Index >>>     <<< Thread Index >>>

Re: addon



On Tue, Sep 02, 2003 at 08:29:24AM +0200, Andre Bonhote wrote:
> Hi
> 
> On Mon, Sep 01, 2003 at 06:04:29PM +0300, Martynas Domarkas wrote:
>  
> > So I wrote a shell script. If somebody interested in it take a look at
> > comments inside and try it.
> 
> I don't blame you for my own stupidity, but you helped me clean out my
> home directory today. I didn't read through the whole script and ran it
> in my home, that's the result:
> 
> [andre@lothlorien andre]$ sh zipscript 
> Usage: mktemp [-d] [-q] [-u] template
> Usage: mktemp [-d] [-q] [-u] template
> Usage: mktemp [-d] [-q] [-u] template
> Usage: mktemp [-d] [-q] [-u] template
> Usage: mktemp [-d] [-q] [-u] template
> zipscript: line 94: $ARCH_TMP: ambiguous redirect
> Type "" not supported
> Exiting
> rm: cannot remove `2003': Is a directory
> rm: cannot remove `4SX1Sj': Is a directory
> rm: cannot remove `bin': Is a directory
> rm: cannot remove `build': Is a directory
> rm: cannot remove `dailystrips': Is a directory
> rm: cannot remove `dl': Is a directory
> rm: cannot remove `Documents': Is a directory
> rm: cannot remove `Dokumente': Is a directory
> rm: cannot remove `evolution': Is a directory
> rm: cannot remove `GNUstep': Is a directory
> rm: cannot remove `img': Is a directory
> rm: cannot remove `Mail': Is a directory
> rm: cannot remove `mp3': Is a directory
> rm: cannot remove `News': Is a directory
> rm: cannot remove `opt': Is a directory
> rm: cannot remove `pixmaps': Is a directory
> rm: cannot remove `public_html': Is a directory
> rm: cannot remove `RCS': Is a directory
> rm: cannot remove `sec': Is a directory
> rm: cannot remove `SQLNav4.1': Is a directory
> rm: cannot remove `src': Is a directory
> rm: cannot remove `tmp': Is a directory
> rm: cannot remove `var': Is a directory
> rm: cannot remove `workspace': Is a directory
> [andre@lothlorien andre]$ ls
> 2003    dailystrips  evolution  mp3      public_html  src
> 4SX1Sj  dl           GNUstep    News     RCS          tmp
> bin     Documents    img        opt      sec          var
> build   Dokumente    Mail       pixmaps  SQLNav4.1    workspace
> (all directories)
> 
> Shit! It's all gone, the zipscript included.
> 
> Please, go through your code and try to avoid such things, as I am
> probably not the only one running code unread.
> 
> I would rate this as pre-alpha.
> 
> André (quite angry)

One should look at the positive side of a happening. Look, you were not
running it with root previleges;)

-- 
vikram...    <Vikram Goyal <viki@xxxxxxxxxx>>
"The human brain is like an enormous fish -- it is flat and slimy and
has gills through which it can see."
                -- Monty Python
-- 
 .
 -
~|~
 =
Registered Linux User #285795