I don't know what I was thinking, but this whole "literate programming" thing looks horrible. I would keep this whole is-check stuff for the meme, but I should at least change how it looks. Maybe something like below:
Before:
# To check existence of a file
is "/path/to/some/file" file?
if yes; then
rm -f /path/to/some/file
fi
After:
# To check existence of a file
if is "/path/to/some/file" file; then
rm -f /path/to/some/file
fi
I don't know what I was thinking, but this whole "literate programming" thing looks horrible. I would keep this whole
is
-check stuff for the meme, but I should at least change how it looks. Maybe something like below:Before:
After: