File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
languages/compiled/makefile Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -227,9 +227,9 @@ https://www.gnu.org/software/make/manual/html_node/Text-Functions.html
227227| findstring | needle,text | find |
228228| filter | pat%...,text | remove |
229229| filter-out | pat%...,text | remove-if-not |
230- | sort | text | sort+dedup |
231- | strip | text | trim and squash whitespaces |
232- | subst | from,to,text | literal substitution |
230+ | sort | text | sort¦uniq |
231+ | strip | text | trim and squeeze whitespaces |
232+ | subst | from,to,text | s/from/to/ |
233233| patsubst | pat,repl,text | pattern% substitution, text can use * |
234234|------------+---------------+---------------------------------------|
235235*** filenames
@@ -310,6 +310,7 @@ $(THUMBS): %.thumb.jpg: %.jpg
310310* gotchas
311311
312312- [[https://stackoverflow.com/questions/9838384/can-gnu-make-handle-filenames-with-spaces][no support for filenames with spaces]]
313+ - filenames with ~:~ must be escaped (aka "multiple target patterns. Stop." error)
313314- ~=~ assignment is perpetually evaluated (aka a macro definition)
314315- ~$~ needs to be always escaped with ~$$~ to be sent to commands as such
315316- ~\t~ for indentation, NOT spaces
You can’t perform that action at this time.
0 commit comments