Man echo reveals that the -n switch prevents echo from appending a new line. Also, you do not need to use more (or less) with grep. Grep can take a file agrument. Refer to grep's man page for more information. -- Neil Watson | Debian Linux System Administrator | Uptime 6 days http://watson-wilson.ca