Translating words

Pipelines v1.6

 

.* Example by TenFiftyTwo(c).

Home

 
.* The following pipeline reads the file: example.txt and translates word 4 and the last 3 words
.* of each record to uppercase.
 
pipe < &installdrive:\&installpath\Examples\Input\example.txt .* Read input file.
     | translate (w4 w-3;*) upper                             .* Change word 4 and last 3 words..
                                                              .* ..to uppercase.
     | cons                                                   .* Display on the console.