Question: b) Consider the following file called phone.txt containing some arbitrary airline phone numbers as follows: {866}{838}{371}{066}{844}879764}4747424670600626655904153955 {000}2372747 {000}6672747 Write a complete sad script called ninor1.

 b) Consider the following file called phone.txt containing some arbitrary airline

b) Consider the following file called phone.txt containing some arbitrary airline phone numbers as follows: {866}{838}{371}{066}{844}879764}4747424670600626655904153955 {000}2372747 {000}6672747 Write a complete sad script called ninor1. sad that will encrypt the phone data according to the following. 1. Propracessing. a. Remove the parentheses from each phone number. b. Remove any whitespace from each phone number. c. Remove any dashes (i.e., "-') from each phone number. 2. Transpositon (i.e, rearrange the order of individual characters): a. Swap the third and eghth number in each phone number. 3. Substtuton (ie e replace characters by other characters) a Substitute each number in the phone number with random lefters, being sure to use an even mix of upper- and lower-case letters. 1. Append extra deta: a. Append the tirst 10 letters of your tirst and last name AF IER the third phone number in the file. If your first and last names combined are sherter than 10 letters, use letters from your middle name as well In this file, for example, my zed script should print the following: 9 sed -r -f minor1.sed phone.txt FB3EDGDAtD BFEtDEDFat IDgedgewg Narkinomp: FGAESSAEEE FTGTHRYTAR FqDerdect. FeDSSDeAtD

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!