[ssfr] Re: [SSFR] Partage de fonctions ...

[ Thread Index | Date Index | More debianworld.org/shellscript-fr Archives ]


On 2008-04-04 14:07:12 +0100, Edi Stojicevic wrote:
> Hmmm ... et les builtins de bash genre realpath ? Il n'est pas
> compile sur Debian par defaut apparemment ... et je ne sais pas
> exactement ce que ca fait mais juste le nom m'a fait penser que
> c'etait ptet une solution.

Pas besoin de builtin:

$ dpkg -s realpath
Package: realpath
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 56
Maintainer: Robert Luberda <robert@xxxxxxxxxx>
Architecture: amd64
Version: 1.11
Replaces: dwww (<= 1.6.10)
Depends: libc6 (>= 2.7-1)
Description: Return the canonicalized absolute pathname
 The package contains a small utility realpath, which converts each
 pathname argument to an absolute pathname, which has no components
 that are symbolic links or the special .  or ..  directory entries.
 .
 This utility provides mostly the same functionality as `/bin/readlink -f'
 in the coreutils package.

Comme cela est dit, il suffit même d'avoir de readlink des coreutils.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/