Daniel Kersten wrote:
> Hi,
>
> There appears to be a bug in coreutils. The --inverse flag appears to
> be missing or broken from most utils.
Hi Daniel,
I see you're on the drink again.
> Example:
>
> $ ps --inverse
> -- ERROR: Unknown gnu long option.
not a coreutil
> $ ls --inverse
> ls: unrecognized option `--inverse'
Note the globbing is done by the shell before passing to ls.
Note find has internal globbing: find -maxdepth 1 ! -name "whatever" -ls
> $ rm --inverse foo
> rm: unrecognized option `--inverse'
Again find is probably more appropriate here?
find ... | xargs rm
> $ echo --inverse "hello"
> --inverse hello
That one makes sense.
$ echo --inverse "hello"
oןןǝɥ
We can code that one together in the pub.
cheers,
Pádraig.