Marc Santhoff wrote: > > try: > | awk -F@ '{split($2, x, " "); print x[1]}' > Perfect, thank you very much Marc. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/