#!/usr/bin/awk -f # Downloadable example 1 for GNU Awk Part 15 { print "R1 ---" } { print "R2",$0 } { print "R3",$0 }