0 {{postValue.vote_count}}

Bash script filtering output issue

I am using gcalcli to read google calendar events. Every time I read the day's events, I have to filter out some stuff that are useless to me and keep the information thet I need. This is the command I use

gcalcli agenda --tsv "date -d 'now'" "date -d 'now + 24 hours'"

and this is the output

2019-06-04      08:15   2019-06-04      09:00   client name1 here 12456432
2019-06-04      09:00   2019-06-04      10:00   client name2 here 86357890
2019-06-04      10:00   2019-06-04      10:30   52478932 client name3 here
2019-06-04      10:30   2019-06-04      11:30   25874125 client name3 here

I am only interested in the date, time and phone number. So I change the command to this

gcalcli agenda --tsv "date -d 'now'" "date -d 'now + 24 hours'" | awk '{print $1 " " $2 " " $5}'

and this is the output

2019-06-04 09:00 client
2019-06-04 10:00 client
2019-06-04 10:30 52478932
2019-06-04 11:45 25874125

So my problem here is that on the 5th column I just need to get thephone number. But because each word on the 5th column is considered a seperate column, it's kinda hard to do that.

How can I get just the phone numbers on the 5th column?

{{forumCtrl.question_commentErr}}

Your Answer
{{forumCtrl.responseErr}}