Deutsch   English   Français   Italiano  
<t33q67$isl$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.os.linux.configuration
Subject: Re: Configuration d'un super PC Linux pour Ghost "Michu" Raider - questions sur le langage de commande
Date: Tue, 12 Apr 2022 12:09:43 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <t33q67$isl$1@shakotay.alphanet.ch>
References: <t2f9qm$8hh$1@dont-email.me>   <t2seor$19s1$1@gioia.aioe.org> <t2sfnl$h0i$1@dont-email.me> <slrnt53h59.1fu.sc@scarpet42p.localdomain> <t2trir$bpg$1@dont-email.me> <t2v12o$iub$1@ns507557.dodin.fr.nf> <20220410174507.06013648@coffee.novazur.fr> <t2vm5i$sco$1@ns507557.dodin.fr.nf> <20220411111453.1ad4d461@coffee.novazur.fr> <t32a3p$lsi$1@ns507557.dodin.fr.nf> <t33bej$25kp$1@news.gegeweb.eu> <t33fnk$gkk$1@dont-email.me> <62554ecb$0$11579$426a74cc@news.free.fr> <t33pt1$hk5$3@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 12 Apr 2022 12:09:43 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1";
	logging-data="19349"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64))
Cancel-Lock: sha256:C4UdKaL/UREtsmMtun3tHJr0tadp33nwFMZFSHWBXzE=
Bytes: 2588
Lines: 28

Thierry P <festiventu@gmail.com> wrote:
> rename ce n'est pas du perl

Ca dépend:

schaefer@reliand:~$ update-alternatives --display rename
rename - auto mode
  link best version is /usr/bin/file-rename
  link currently points to /usr/bin/file-rename
  link rename is /usr/bin/rename
  slave rename.1.gz is /usr/share/man/man1/rename.1.gz
/usr/bin/file-rename - priority 70
  slave rename.1.gz: /usr/share/man/man1/file-rename.1p.gz

Ici, c'est du Perl.

Les alternatives Debian sont implémentées comme des liens symboliques:

schaefer@reliand:~$ ls -la /usr/bin/rename                             
lrwxrwxrwx 1 root root 24 Sep 10  2020 /usr/bin/rename -> /etc/alternatives/rename

schaefer@reliand:~$ ls -la /etc/alternatives/rename
lrwxrwxrwx 1 root root 20 Sep 10  2020 /etc/alternatives/rename -> /usr/bin/file-rename

schaefer@reliand:~$ file /usr/bin/file-rename
/usr/bin/file-rename: Perl script text executable

Il serait bien d'ailleurs que la manpage suive le même processus, ce qui
est indiqué par l'attribut slave ci-dessus.