login
Header Space

 
 

Re: Globbing

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Subject: Re: Globbing
Date: Friday, February 15, 2008 - 12:22 pm

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Globbing, Oliver Fromme, (Fri Feb 15, 12:22 pm)
speck-geostationary