markus schnalke dixit (2009-08-13, 16:35):
> [2009-08-13 16:27] Antoni Grzymala <antoni_AT_chopin.edu.pl>
> > Lorenzo Bolla dixit (2009-08-13, 11:07):
> >
> > > On Thu, Aug 13, 2009 at 10:11 AM, Anselm R Garbe <garbeam_AT_gmail.com> 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]
This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 14:18:47 UTC