|
Discarding records |
Pipelines v1.6 |
.* Example by TenFiftyTwo(c). |
.* The following pipeline reads the file: example.txt, discarding every other record and.* displays the retained records on the console. pipe < &installdrive:\&installpath\Examples\Input\example.txt .* Input file.
| specs recno 1 1-* nw .* Insert the record number. | join /@/ .* Join every two records. | specs ws /@/ w1 1 .* Select upto the /@/ character. | console .* Display on the console.