basename.1 558 B

123456789101112131415161718192021222324252627282930313233
  1. BASENAME(1) "fases core"
  2. # NAME
  3. basename \- Return non-directory portion of a pathname
  4. # SYNOPSIS
  5. *basename* _string_ [*suffix*]
  6. # DESCRIPTION
  7. Return non-directory portion of the *string* pathname.
  8. # EXAMPLES
  9. *basename /bin/sh*
  10. Return non-directory portion ("sh").
  11. *basename /usr/bin/basename name*
  12. Remove the suffix "name" from "basename" and return "base".
  13. # AUTHOR
  14. Written by Ferass EL HAFIDI as part of the fases
  15. project.
  16. Source code is at http://git.vitali64.duckdns.org/utils/fases.git.
  17. # COPYRIGHT
  18. Copyright (C) 2022 Ferass EL HAFIDI