Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


make/functions/filenames (563 bytes)

1 #dir LIST # directory parts and slash
2 #notdir LIST # remove not directories from list AND do basename on the rest
3 #suffix LIST # get file extensions (.whatever )AND remove items without
4 #basename LIST # names without the last part of extensions
5 #addsuffix SUFFIX,LIST # mostly for file extensions
6 #addprefix PREFIX,LIST # mostly for package prefixes
7 #join LIST,LIST # maps the lists and concatenates each item to the corresponding
8 #wildcard PATTERN # globbing
9 #realpath LIST # abspath without symlinks
10 #abspath LIST # abspath without ., .., or repeated /
11 $(<++>)