Feature #324
TBX x.x: create Head and Tail Groovy scripts
Statut: | New | Début: | 04/09/2013 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Toolbox | Temps passé: | - | |
Version cible: | TXM 0.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