I'm trying to pipe grep output to rm, but it outputs useless stuff. Is any switch required for rm? Or can rm can be provided a regexp directly?
$ ls | grep '^Dar' |rm'^\[Daruchini'| rm: missing operand Try `rm --help' for more information. rm: missing operand Try `rm --help' for more information.