Incoming from s. keeling:
> Incoming from Nick W:
> > 
> > ls -la | awk 'BEGIN {ORS=" "} $9 ~ /~/ {print $9}'
> 
> Offhand, I'd say you're getting into system interaction stuff here.

... so all you need to do really is pipe that back to /bin/rm:

  ls -la | awk 'BEGIN {ORS=" "} $9 ~ /~/ {print $9}' | /bin/rm

but try echo first (just in case it tries to rm /home/you).


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to