I have an awk script that I have defined thus:
#!/usr/bin/env awk BEGIN { if (!len) len = 1; end = start + len } { for (i = start; i < end; i++) { print $
Below is the answer for this problem -
#!/bin/awk -f