Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.os.unix > #8036

Re: basename

From Jo Engo <yl@icite.fr>
Newsgroups fr.comp.os.unix
Subject Re: basename
Date 2022-10-01 13:00 +0000
Organization Posted through news.alphanet.ch
Message-ID <th9dma$p4e$10@shakotay.alphanet.ch> (permalink)
References <63350177$0$25835$426a74cc@news.free.fr>

Show all headers | View raw


Le Thu, 29 Sep 2022 04:22:47 +0200, Thomas a écrit :

> pour vous, qu'est-ce que c'est qu'un "basename" ?

Pour moi c'est une commande :

$ basename /foo/bar/team
team
$ basename /toto/titi/ta.ta
ta.ta

$ man basename
BASENAME(1)                      User Commands                     
BASENAME(1)

NAME
       basename - strip directory and suffix from filenames

Apparement .ta n'est pas un suffixe, ou basenamene fait pas ce qu'il dit.
-- 
Mon Edmond rugis !
A Laval elle l'avala
Sigurd, nom de nom !
		-- Jouet, Jacques

Back to fr.comp.os.unix | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

basename Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-09-29 04:22 +0200
  Re: basename Benoit Izac <use.reply.to@INVALID.ADDRESS> - 2022-09-29 07:39 +0200
  Re: basename Nicolas George <nicolas$george@salle-s.org> - 2022-09-29 09:21 +0000
    Re: basename Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-10-01 22:44 +0200
  Re: basename Jo Engo <yl@icite.fr> - 2022-10-01 13:00 +0000
    Re: basename Jo Engo <yl@icite.fr> - 2022-10-01 13:07 +0000
    Re: basename Olivier Miakinen <om+news@miakinen.net> - 2022-10-01 15:52 +0200
      Re: basename Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-10-01 22:58 +0200
        Re: basename Olivier Miakinen <om+news@miakinen.net> - 2022-10-01 23:12 +0200

csiph-web