BASENAME(1)                                           BASENAME(1)

     NAME
          basename - strip file name affixes

     SYNOPSIS
          basename string [ suffix ]

     DESCRIPTION
          Basename deletes any prefix ending in `/' and the suffix, if
          present in string, from string, and prints the result on the
          standard output.

     Page 1                       Plan 9             (printed 4/27/24)