Hello, I have been using this program for a bit and I have noticed that the words file doesn't allow for comments. I think have some comments would useful even for a small words file.
Here's my proposal:
- There would only be whole-line comments, where
clac would just ignore the line if it starts with a comment character. Probably having inline comments wouldn't be that much harder, but given how simple this program is, I think it wouldn't be worth it.
- The comment character would be the pound sign
#, as in it is various UNIX(-like) shells, python, and various configuration languages.
- Played a bit with the words file, it seems like
"#" is already interpreted as just #, so I thinking there would be no need for any escape sequences here, just an update to the man page.
I'm not exactly the world's greatest C programmer, but I would be willing to try doing it if you think it's a reasonable idea.
Hello, I have been using this program for a bit and I have noticed that the words file doesn't allow for comments. I think have some comments would useful even for a small words file.
Here's my proposal:
clacwould just ignore the line if it starts with a comment character. Probably having inline comments wouldn't be that much harder, but given how simple this program is, I think it wouldn't be worth it.#, as in it is various UNIX(-like) shells, python, and various configuration languages."#"is already interpreted as just#, so I thinking there would be no need for any escape sequences here, just an update to themanpage.I'm not exactly the world's greatest C programmer, but I would be willing to try doing it if you think it's a reasonable idea.