Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
func remove_lines(file, beg, len) {
|
||||
var lines = file.open_r.lines;
|
||||
lines.splice(beg, len).len == len || warn "Too few lines";
|
||||
file.open_w.print(lines.join)
|
||||
}
|
||||
|
||||
remove_lines(File(__FILE__), 2, 3);
|
||||
Loading…
Add table
Add a link
Reference in a new issue