DragonFly kernel List (threaded) for 2008-02
DragonFly BSD
DragonFly kernel List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Globbing


From: Oliver Fromme <check+jwaffx00rspcnfu1@xxxxxxxxxx>
Date: 15 Feb 2008 16:22:34 GMT

Rahul Siddharthan wrote:
 > Another thing that has bitten me is trying to remove all my config
 > files/directories, that begin with a ".", thusly
 >  rm -rf .*
 > Luckily I had backups.

Another reason to use zsh.  :-)  The expansion of a
glob expression never contains "." or "..".

Best regards
   Oliver


-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]