Code: Alles auswählen
echo "1 Jan 2000 01:00:00 foo bar | awk -F '**:**:** ' '{printf $1}' => 1 Jan 2000 01:00:00
echo "2000-01-01 01:00:00 foo bar | awk -F '**:**:** ' '{printf $1}' => 2000-01-01 01:00:00
echo "Sa 1. Jan 01:00:00 foo bar | awk -F '**:**:** ' '{printf $1}' => Sa 1. Jan 01:00:00 01:00:00