uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

extname(USP)

Name

extname : Returns the file extension from a path

Synopsis

Usage   : extname <path>

Version : Mon Jan 17 11:50:14 JST 2022

Edition : 1

Description

Extname returns the file suffix of the <path> if exists.

Example 1

$ extname /home/usp/hogehoge.c

c

Reference

basename command = removes the path and returns only the file name

dirname command = returns only the directory name from the path

rootname command = Removes the suffix from the path (USP command)

extname command = Returns the file suffix from a path (USP command)