Skip to content

tarik02/ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ext

Print file (s) extension (s).

Inspired by what-to-code

Requirements

  • build-essentials
  • cmake

Installation

$ git clone https://github.com/Tarik02/ext
$ cd ext
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ cmake --build . --target install

Usage:

Usage:
	ext [options] [--] [filenames...]  read filenames from arguments
	ext [options] -                    read filenames from stdin

Options:
	-h       --help                    display this and exit
	-V       --version                 display version info
	-d       --dot                     print dot before every extension
	-l [SEP] --line=[SEP]              print output in single line with specified separator [default: ' ']
	-s [SEP] --separator=[SEP]         input separator (only if reading from stdin) [default: ' ']

About

Print file (s) extension (s).

Resources

License

Stars

Watchers

Forks

Packages

No packages published