okabsd / ext

display filename extensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ext - display file extensions

installation:
	make
	make install

usage:
	ls | ext
	ext words.txt image.png

documentation:
	man ext

ext treats each line in its standard input as the name of a file,
and will display the apparent extension of each.

if connected to a tty, each program argument is used instead,
wherein newlines are ignored.

each file extension is written to the standard output on its own line.
files without extensions will produce empty lines.

oka <yo@oka.io>

About

display filename extensions

License:ISC License


Languages

Language:C 40.0%Language:Roff 32.4%Language:Makefile 27.6%