On Mon, Sep 15, 2008 at 9:29 PM, Chris Hellyar <[EMAIL PROTECTED]> wrote: > #!/bin/bash > echo -n " OK " > date > echo -n " " > cat /tmp/pingouttxt | grep time= | cut -d "=" -f 4
printf is nice, but over the top. You just need to get all the data into a single invocation of echo ... echo "OK $(date) $(cat /tmp/pingouttxt|grep time=|cut -d "=" -f 4)" -jim
