What is undefined.md
You often need to create markdown files, so you can run touch filename.md
to create them, but the one problem is you need to type the tedious suffix .md
.
So you wrote a Node.js script named touchmd
to improve the situation:
|
|
Then you ran touchmd README
to create README.md, ran touchmd CHANGELOG
to get CHANGELOG.md and so on.
|
|
The script worked perfect and you got happy.
One day, you accidentally ran touchmd
without any parameters.
|
|
Guess what did you get?
|
|
Congratulations! You got the undefined.md
.