On 09/07/11 00:21, Laurent TARRISSE wrote: > The 'bug' appeared on Linux, because dirname doesn't output the path when > several arguments are passed to it. :)
The same 'bug' will also appear on Solaris 10; its dirname does the same thing as GNU/Linux's dirname. I'm afraid you're fighting an uphill battle here. I'd fix the script rather than expecting other implementations to match HP-UX's quirks. I'm marking this as "done" since I don't expect the GNU/Linux version to change.
