Skip to content

Commit

Permalink
break lines in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesguru committed May 3, 2024
1 parent 9c0eba3 commit 2b9b3db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions content/posts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ SHELL=/bin/bash
.PHONY: list
list:
@echo "Listing out existing tags..."
grep -rh --exclude=Makefile ":tags:" | awk -F":tags:" '{print $$2}' | xargs -I % echo % | tr -s ', ' '\n' | sort | uniq
grep -rh --exclude=Makefile ":tags:" | awk -F":tags:" '{print $$2}' \
| xargs -I % echo % | tr -s ', ' '\n' | sort | uniq
@echo
@echo "Listing out existing categories..."
grep -rh --exclude=Makefile ":category:" | awk -F":category:" '{print $$2}' | xargs -I % echo % | tr -s ', ' '\n' | sort | uniq
grep -rh --exclude=Makefile ":category:" | awk -F":category:" '{print $$2}' \
| xargs -I % echo % | tr -s ', ' '\n' | sort | uniq

0 comments on commit 2b9b3db

Please sign in to comment.