On Fri Jan 22 15:24:49 EST 2010, stal...@maths.tcd.ie wrote: > > sneaky. but it won't work. > > > > ; touch 'x;reboot' > > ; du -a . > > 0 './x;reboot' > > 0 . > > > > - erik > > It worked under 9vx on my Mac. I didn't test on real hardware.
this rebooted your 9vx? sounds wrong to me. i thought the orginal script was du -a . | awk '{print "grep -l pattern " $2}' | rc if i run that on my machine, i get ; du -a . | awk '{print "grep -l something " $2}' grep -l something './x;reboot' grep -l something . if executed, that won't reboot your machine. it will just print "x;reboot". if you were to reexecute that, it would. but you wouldn't want to execute a list of file names, would you? - erik