4 ms·
I tried this for a bit until I found out make couldn't deal with spaces in the file name. switched to rake (ruby), which had the advantage of not needing to wri
by LAC-Tech 4y ago
I tried this for a bit until I found out make couldn't deal with spaces in the file name. switched to rake (ruby), which had the advantage of not needing to write separate shell scripts.
- saurik 4y agoWhy do you have spaces in the filenames of your project in the first place? They require annoying escapes to work with essentially everywhere, notably including on the web. You have complete control over the filenames in your project... why are actively choosing to use a space character? I can see a better argument for wanting to use an apostrophe in a filename than a space character :(.
- LAC-Tech 4y agoBecause I wanted the title of my blog posts to match the file name, so I didn't have to remember which markdown file was which post.
- saurik 4y agoWhich sounds cool and all, except I bet the URL doesn't have a space character in it, right? And so, now you have a weird mismatch between the files on disk and the site structure.
- LAC-Tech 4y agoNo, the filename was a sort of composite key. "yymmdd Name of Article.md" URL became yymmdd. Name of Article let me know where to find the article at a glance.