Here is the basic script I want to pass 3 arguments into:<br><br>awk '{if(substr($0,position,length)=="variable" {print $0}}' input file > output file<br><br>I want to pass in the position, length, and variable at the command line when running this script? Any ideas. I have looked at ARGV & ARGC, but I have not been successful.