[CentOS] parsing out adjacent text

Tue Jun 3 14:43:52 UTC 2014
Patrick Bervoets <patrick.bervoets at psc-elsene.be>

op 03-06-14 16:32, schreef Tim Dunphy:
> What I need to figure out at this point is how to get the time and date
> info on the same line as it's category. ie get
>
> Time and date: 06/03/14 10:24:09
>
> instead of
>
> Time and date:
> 06/03/14 10:24:09
printf "Time and date: $(/bin/date +"%D %H:%M:%S")\n" solves both problems here
> As it is now.
>
> Also I'm trying to print out newlines with  echo -e "\n" but somehow that
> isn't working. Tho I think I've gotten that to work in the past.
>
> If someone could please help me fix these minor formatting issues that
> would be great and appreciated.
>
> Thanks
> Tim
>
>
>