You may want to generate some or all of the awk program on-the-fly, or use awk -v to set awk variables from the command line, or use the ENVIRON array to read environment variables.
--- Begin Message ---"Russ Cox" <[EMAIL PROTECTED]> wrote:> If you're using awk and want the first 24 characters, I'd use substr. Yup, substr is in there; but it needs to be fed the position dynamically with the regex. Thanks again! -Derek
--- End Message ---
