일이 없는 家

BASENAME(1) 본문

Debian manpage [bash]

BASENAME(1)

자발적 막노동 2012. 10. 2. 20:50
NAME
       basename - 파일이름에서 디렉토리와 접미사를 벗겨내고 남은 텍스트를 취한다.

SYNOPSIS
       basename NAME [SUFFIX]
       basename OPTION

DESCRIPTION
       선행하는 디렉토리명은 제하고 NAME을 출력한다.
       SUFFIX가 지정되고 그 부분이 NAME의 끝부분과 일치하면 그 부분을 제하고 NAME을 출력한다.

       --help 도움말을 출력하고 종료한다.

       --version
              버전 정보를 출력하고 종료한다.

EXAMPLES
       basename /usr/bin/sort
              "sort" 를 출력한다.

       basename include/stdio.h .h
              "stdio"를 출력한다.

AUTHOR
       Written by David MacKenzie.

REPORTING BUGS
       Report basename bugs to bug-coreutils@gnu.org
       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
       General help using GNU software: <http://www.gnu.org/gethelp/>
       Report   basename   translation   bugs    to    <http://translationpro-
       ject.org/team/>

COPYRIGHT
       Copyright  (C) 2010 Free Software Foundation, Inc.  License GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This is free software: you are free  to  change  and  redistribute  it.
       There is NO WARRANTY, to the extent permitted by law.

SEE ALSO
       dirname(1), readlink(1)

       The  full documentation for basename is maintained as a Texinfo manual.
       If the info and basename programs are properly installed at your  site,
       the command

              info coreutils 'basename invocation'

       should give you access to the complete manual.

GNU coreutils 8.5                 April 2010                       BASENAME(1)

* 출처만 밝히시면 퍼가셔도 상관없습니다.


'Debian manpage [bash]' 카테고리의 다른 글

LS (1)  (0) 2024.10.10
CAT(1)  (0) 2012.10.02
LAST(1)  (0) 2012.10.02
UNAME(1)  (0) 2012.10.02
DIFF(1)  (0) 2012.10.02