yuqiboy
    • 2024-08-13 21:43:11 +0000 UTC

      yuqiboy

      Aug 13, 2024

      Right now each entry’s markdown file is appended with the title I give as an argument for my make entry command.

      $(shell printf "%q" "$(TITLE)")

      But when there’s spaces or punctuation, the backward slash fucks up the file name. It too so long to figure out how I can replace the spaces with a _

      $(shell echo $(TITLE) | tr ' ' '_')

      at long last !!!

      2024-08-13 21:43:11 +0000 UTC Aug 13, 2024