|
awk question
I am trying to write a program with awk. I have a file with
Name:Birthday:PhoneNumber:Email of my friends. I want to match the date of that month to the month of the birthday and e-mail that line to myself. Everything is done except i cannot match the date.
awk -F: '$2 == "03/11/1982" {print $1, $2, $3, $4} ' ./bd
works. But how can i match the first two numbers of birtday to date and print everything?
|