On Oct 14, 2005, at 6:40 PM, Carl Lowenstein wrote:

#!/bin/sh
mkdir -p $1
#######

If file does not exist, mkdir will make a directory.
If file exists and is not a directory mkdir will fail and produce the
desired error message.
If file exists and is a directory mkdir will just silently go away.


Carl,

You are simply a font of timely and useful information.

Gregory

--
Gregory K. Ruiz-Ade <[EMAIL PROTECTED]>
OpenPGP Key ID: EAF4844B  keyserver: pgpkeys.mit.edu



Attachment: PGP.sig
Description: This is a digitally signed message part

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to