|
Deleting words |
Pipelines v1.6 |
.* Example by TenFiftyTwo(c). |
.* The following pipeline reads the file: example.txt and deletes the word 'the' from any.* record that contains the word. .* Note. The search for the word 'the' is not case sensitive, and any combination of.* uppercase and lowercase characters that spell the word will match, for example the .* following words both match: 'The' and 'tHe'. pipe (stagesep !)
< &installdrive:\&installpath\Examples\Input\example.txt .* Read input file. ! change anycase reg /the|the\s/ // .* Delete the word 'the'. ! console .* Display on the console.