#!/bin/awk -f # Normally, records are separated by newline characters. # You can control how records are separated by assigning # values to the built-in variable RS. If RS is any single # character, that character separates records. Otherwise, # RS is a regular expression. Text in the input that # matches this regular expression separates the record. # However, in compatibility mode, only the first character # of its string value is used for separating records. If RS # is set to the null string, then records are separated by # blank lines. When RS is set to the null string, the new­ # line character always acts as a field separator, in addi­ # tion to whatever value FS may have. { print }