bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a special variable for the directory where the script is in


From: Guillaume Outters
Subject: Re: Is there a special variable for the directory where the script is in?
Date: Fri, 12 Feb 2010 14:38:30 +0100 (CET)

Greg a écrit :

> Except that HP-UX 10.20 and HP-UX 11.11 don't have readlink(1).
> (Maybe it's added in 11.2x?  I don't know.)

You're right. I must admit I made a concession to some GNU coreutils tools on 
the platform. I once used some ls -l "$SCRIPTS" | sed -e 's/.* -> //' magic to 
replace it (and it worked two minutes ago on the HP-UX, just like it used to 
back in the old days).

-- 
Guillaume




reply via email to

[Prev in Thread] Current Thread [Next in Thread]