bug#12339: [PATCH] rm: avoid bogus diagnostic for a slash-decorated syml
From:
Paul Eggert
Subject:
bug#12339: [PATCH] rm: avoid bogus diagnostic for a slash-decorated symlink-to-dir
Date:
Wed, 05 Sep 2012 08:13:20 -0700
User-agent:
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0
On 09/05/2012 07:51 AM, Linda A. Walsh wrote:
>> Just start the script with "#!/bin/sh", as usual.
>> When invoked that way, Bash and other shells are POSIX-compliant
>> in this area.
> To what level of posix...
To all the levels that are relevant for this discussion.
In practice, people use "#!/bin/sh" and it works pretty well
to avoid compatibility issues like this. It's not perfect
for all POSIX issues, but you were asking for a solution to
a particular problem, and this should solve your problem.