Question: Need Some Help on this for a bash script! For this assignment, you will use sed, bash, and the other utilities you have used in

Need Some Help on this for a bash script!Need Some Help on this for a bash script! For this assignment,

For this assignment, you will use sed, bash, and the other utilities you have used in class to create a program for use in an academic setting for which redacting sensitive information for extra-departmental communication is important. Your program should take the names of one or more files that are to be redacted as command line arguments. This assignment requires only sed, bash, and the other utilities used so far in class. Do not use awk, perl, Python, or any other languages/utilities. Hint: make use of the \w character class (equivalent to [a-zA-Z0-9_]). Hint: echo "My cat is very scattered." | sed -r 's/(^/\W) cat ($/\W)/\1dog\2/g'} My dog is very scattered. Example Original redactme.txt: 1 Student Transcript for John Doe, jk1567, 099029832 2 3 Semester Fall 2020 4 CS 3424 Systems Programming 5 CS 3733 Operating Systems 6 CS 4853 Adv. Systems Programming D 7 MAT 1013 Calculus | B- 8 Semester grade point average : 2.18 9 10 X Academic probation active 11 X Academic holds : 3 B+ Redacted Version of redactme.txt: 1 Student Transcript for John Doe, XYZ000, XXXXXXXX 2 3 Semester Fall 2020 4 CS 3424 Systems Programming 5 CS 3733 Operating Systems 6 CS 4853 Adv. Systems Programming 7 MAT 1013 Calculus | X 8 Semester grade point average : X.X 9 For this assignment, you will use sed, bash, and the other utilities you have used in class to create a program for use in an academic setting for which redacting sensitive information for extra-departmental communication is important. Your program should take the names of one or more files that are to be redacted as command line arguments. This assignment requires only sed, bash, and the other utilities used so far in class. Do not use awk, perl, Python, or any other languages/utilities. Hint: make use of the \w character class (equivalent to [a-zA-Z0-9_]). Hint: echo "My cat is very scattered." | sed -r 's/(^/\W) cat ($/\W)/\1dog\2/g'} My dog is very scattered. Example Original redactme.txt: 1 Student Transcript for John Doe, jk1567, 099029832 2 3 Semester Fall 2020 4 CS 3424 Systems Programming 5 CS 3733 Operating Systems 6 CS 4853 Adv. Systems Programming D 7 MAT 1013 Calculus | B- 8 Semester grade point average : 2.18 9 10 X Academic probation active 11 X Academic holds : 3 B+ Redacted Version of redactme.txt: 1 Student Transcript for John Doe, XYZ000, XXXXXXXX 2 3 Semester Fall 2020 4 CS 3424 Systems Programming 5 CS 3733 Operating Systems 6 CS 4853 Adv. Systems Programming 7 MAT 1013 Calculus | X 8 Semester grade point average : X.X 9

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!