On Tue, 2021-01-12 at 10:20 -0500, Dmitry Goncharov wrote: > In bash (in recipe lines) you can replace cp with > echo "$(<src)" >dst
If you use this you must set the make variable SHELL to /bin/bash. Also, if running "echo hi" is slow then I assume this would also be slow. > in make you can replace cp with > $(file >dst,$(file <src)) This will work for text files but it won't work for binary files. Cheers!