I have a text file containing birthdays:
1/23 Horace 3/1 Taraneh 7/14 Valerian 11/31 Carmen
I want to display the birthdays from today's date.
For example if today is 4/7 (April 7th):
7/14 Valerian 11/31 Carmen 1/23 Horace 3/1 Taraneh
How to do this in a bash script?
I have found how to split a text file based on a pattern (I could then concatenate the splits in the opposite order) but here the trick is that today's date might be absent, or might be the birthday of several people.
Note: all dates are valid dates.