This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua | |
--[[ | |
Removes lines from a file | |
@param string filepath | |
@param num startline (line number where deletion starts) | |
@param num numlines (number of lines to delete) | |
ex: $ rmlines ~/myfile 45 7 |
NewerOlder