|
Message-ID: <20051014102041.GA30445@openwall.com> Date: Fri, 14 Oct 2005 14:20:41 +0400 From: Solar Designer <solar@...nwall.com> To: owl-users@...ts.openwall.com Subject: Re: PLS need help with new ISO rebuilding On Thu, Oct 13, 2005 at 04:43:13PM +0400, Melekhov Alexandre A. wrote: > # cp -a * ../OWL/. That's the bug. "*" doesn't include filenames starting with a dot. You should have used "." (current directory) in place of "*" (all non-hidden files in current directory). In general, it is a good practice to avoid shell wildcards whenever possible. As the name suggests, shell wildcards are expanded by the shell and passed into programs you invoke in an already expanded form. This results in a significant amount of processing on the filenames. In particular, in the command above, "cp" had to check each filename for it possibly being an option to "cp" (that is, something starting with a dash), -- which was clearly undesired. -- Alexander Peslyak <solar at openwall.com> GPG key ID: B35D3598 fp: 6429 0D7E F130 C13E C929 6447 73C3 A290 B35D 3598 http://www.openwall.com - bringing security into open computing environments Was I helpful? Please give your feedback here: http://rate.affero.net/solar
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.