Question: PROGRAM DESCRIPTION: In this assignment, you will write several regular expressions, gawk scripts, and sed commands to accomplish certain requested functionality. Given the many powerful





PROGRAM DESCRIPTION: In this assignment, you will write several regular expressions, gawk scripts, and sed commands to accomplish certain requested functionality. Given the many powerful features of gawk and sed, you are provided with a link to a tutorial for gawk as well as sed to assist you in completing this assignment. Regular Expressions Write a regular expression that matches: a) all strings that end with a dot character".", without the quotes. b) all strings that begin with a "#" character, without the quotes. c) all floating-point numbers using standard notation (e.g., 12.345 or-12.345). Note that matching numbers may contain any number of digits before or after the decimal point. d) all floating-point numbers using scientific notation (e.g., 1.234e+5 or -1.234E-5). Again, matching numbers may contain any number of digits before or after the decimal point
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
