1.0.0 • Published 3 years ago

linolenum v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

linolenum - so you know which line of code is which.

Inspired by this junk from a introductory computer science elective "course":

npm.io

...which makes me cringe on many, many levels.

Summary

This script takes a file from stdin and adds a comment after it with the number of the respective line. The commend delimiter is supplied as an argument.

Usage

Make sure you chmod +x the file before executing. Execute with ./linolenum. It will automatically be executed by node because of the shebang, and for the same reason node linolenum will not work.