Parameters can be passed to awk of USG 5.0 systems by: awk [options] variable=value The variable on the command line will have the specified value within the program. If I recall, the variable will NOT be set during the execution on the BEGIN block.