On Thu, Dec 13, 2001 at 06:13:05PM -0500, Thomas A. Lowery wrote: [snip] > "You are guaranteed that if you concatenate path, name, > and suffix together in that order, the result will > denote the same file as the input file specification." [snip]
> perl -w quickfind.pl lib/myview.sql myview.sql /tmp/myview.sql ./myview.sql > 1. file lib/myview.sql : concat lib/myview.sql > 2. file myview.sql : concat ./myview.sql > 3. file /tmp/myview.sql : concat /tmp/myview.sql > 4. file ./myview.sql : concat ./myview.sql > > 2 is now wrong. The current path "./" was added as a default. Is > this a bug, feature, or done for security? (numbers added for reference only) The documentation says "the result will denote the same file as the input file specification". myview.sql and ./myview.sql are equivalent on Unix systems. They denote the same file. Denoting the same file doesn't mean the strings will be exactly equal, it will mean you get the same file if you were to try and access it. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]