Hi, Setting the enviroment variable is dependant on the shell in use (sh/ksh/bash/csh etc). I would hack it like (not truely knowing sh syntax):
#!/bin/sh set DVM = `./extract_line $1` This is a simple wrapper, and may/may not work depending on how lucky you are... I've definately not tested it... maybe this is just random noise that looks like a solution... Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]