Question: PROGRAM DESCRIPTION: In this assignment, you will write sed and gawk commands to accomplish certain requested functionality. Given the many powerful features of sed and
PROGRAM DESCRIPTION: In this assignment, you will write sed and gawk commands to accomplish certain requested functionality. Given the many powerful features of sed and gawk, you are provided with links to manuals and tutorials for sed and gawk to assist you in completing this assignment. Using sed a) Consider the following file called dates.txt containing some dates in US format, some of them palindromes (ie, 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 You may write the sed command-line in the space provided below and ensure that this Word document (with your solutions) is submitted to Canvas
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
