Re: Shell hate (was Re: unzip hate)

[prev] [thread] [next] [lurker] [Date index for 2007/02/20]

From: Smylers
Subject: Re: Shell hate (was Re: unzip hate)
Date: 17:38 on 20 Feb 2007
Martin Ebourne writes:

> Smylers <Smylers@xxxxxxx.xxx> wrote:
> 
> > Bash 3 introduced the failglob option
> 
> Hey, bash wasn't first. :)

Erm, yeah ... that's why farther down in my message I explicitly
mentioned an example of some other shell that had this feature years ago
and state how hateful it is that Bash took until version 3 to introduce
this!

>    find /path/to/dir/*.bak -mtime 5 | xargs rm -f
> broke free on my system when there were no .bak files,

Ouch.  As somebody used to GNU find I keep finding it hateful that find
on FreeBSD does this:

  $ find -type f
  find: illegal option -- t
  find: illegal option -- y
  find: illegal option -- p
  find: illegal option -- e
  find: f: No such file or directory

But at least that's only a minor irritation and the command-line, rather
than most of a hard-disk wiped, so I think you're hate definitely wins!

Smylers
There's stuff above here

Generated at 06:02 on 21 Feb 2007 by mariachi 0.52