markus schnalke dixit (2009-08-13, 16:35):

> [2009-08-13 16:27] Antoni Grzymala <[email protected]>
> > Lorenzo Bolla dixit (2009-08-13, 11:07):
> > 
> > > On Thu, Aug 13, 2009 at 10:11 AM, Anselm R Garbe <[email protected]> 
> > > wrote:
> > > 
> > > > What about
> > > >
> > > > echo 'rm -rf /' | dmenu?
> > > 
> > > I bet someone's gonna try it...
> > 
> > It's not gonna do anything by itself.
> 
> Not now ... but with the proposed change.

Still it's not. dmenu does not actually *run* the commands displayed.

This would have done what you suggest it does:

$(echo 'rm -rf /' | dmenu) # or backquoted, or otherwise evaled.

-- 
[a]

Attachment: pgpsazk5h2H38.pgp
Description: PGP signature

Reply via email to