HNHacker News
TopNewBestAskShowJobs

diamantidis_io

79 karma · joined July 21, 2019

submissionscomments
diamantidis_io··on How to list all the targets on a Makefile
Hey!! No, the regex on the sed command takes care of it. It breaks the target into three parts. One before the ":", one between the ":" and the "##" and one for the rest, after the "##". Then it outputs only the first and the third part