#!/bin/sh

nawk '
BEGIN {
	lines = ARGV[1]
	for(i=0; i<lines; i++) {
		printf("This is line %d\n", i);
	}
	exit
}
' $*
