LWN.net Logo

Shortening the rope

Shortening the rope

Posted Apr 10, 2009 13:01 UTC (Fri) by TRS-80 (subscriber, #1804)
In reply to: Shortening the rope by hppnq
Parent article: Shortening the rope

It's /usr/bin/rm, the magic is in zsh's globbing which detects rm and * in the same command.


(Log in to post comments)

Shortening the rope

Posted Apr 14, 2009 11:58 UTC (Tue) by hppnq (guest, #14462) [Link]

Ah, thanks. What a horrible feature. A shining example of what Eric Allman -- no stranger to, err, dodgy stuff -- must have meant with his somewhat leaky screwdriver. ;-)

(There actually is a zsh module that adds an alternative rm, but it has nothing to do with this perverse behaviour.)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds