Question: Write a one-line sed command that prints out only the lines containing date palindromes so that after running the appropriate sed command, the following would
Write a one-line sed command that prints out only the lines containing date palindromes so that after running the appropriate sed command, the following would be output to the terminal

Using sed a) Consider the following file called dates.txt containing some dates in US format, some of them palindromes (i.e., words that read the same backwards and forwards) and some not: 02/02/2020 03/02/2030 12/02/2021 06/19/1960 01/10/2010 03/07/2100 Write a one-line sed command that prints out only the lines containing date palindromes so that after running the appropriate sed command, the following would be output to the terminal: 02/02/2020 03/02/2030 12/02/2021
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
