Feature #324

TBX x.x: create Head and Tail Groovy scripts

Added by Serge Heiden almost 10 years ago.

Status:New Start date:09/04/2013
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Toolbox Spent time: -
Target version:TXM X.X

Description

Write Head and Tail Groovy scripts to help manage source files.
Head and Tail should behave like Unix command lines tools:

Head keeps the N first lines of a file
if Head has a '-negation' argument, Head keeps all lines
before the N last lines of a file

Tail keeps the N last lines of a file
if Tail has a '-negation' argument, Tail keeps all lines
starting from N first lines of a file

Also available in: Atom PDF