Re: [9fans] find command reloaded
- From: quanstro@xxxxxxxxxx (erik quanstrom)
- Date: Fri, 22 Jan 2010 20:34:15 GMT
On Fri Jan 22 15:24:49 EST 2010, stalker@xxxxxxxxxxxx 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
.
- Follow-Ups:
- Re: [9fans] find command reloaded
- From: John Stalker
- Re: [9fans] find command reloaded
- References:
- Re: [9fans] find command reloaded
- From: John Stalker
- Re: [9fans] find command reloaded
- Prev by Date: Re: [9fans] find command reloaded
- Next by Date: Re: [9fans] find command reloaded
- Previous by thread: Re: [9fans] find command reloaded
- Next by thread: Re: [9fans] find command reloaded
- Index(es):
Relevant Pages
|