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

Write a one-line sed command that prints out only the lines containing

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!