Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Linux Terminal, how can I write this as a bash script? CIS 345 Homework 1 1-28-20 Suppose Wayne Electronics Inc. has a file named

Using Linux Terminal, how can I write this as a bash script?

image text in transcribed

CIS 345 Homework 1 1-28-20 Suppose Wayne Electronics Inc. has a file named customers and contacts.txt with following fields: First Name, Last Name, Sweet Address, City, State, Zip code, Phone number, Social Security Number, and Date of Birth all delimited with tab characters as shown in the sample entry below. New contacts are appended as they occur. David Webb Box 34 Rural Route 2 Martha Kent 1122 North Hwy 5 Edward Nygma 443 W. Broadway Nixa MO Smallville Gotham City 65714 KS NJ (417)555-1478 555-66-7788 09-13-1970 66789 (785)555-2322 343-55-8845 0 4-17-1965 12458 (212)743-3537 785-48-5524 08-08-1987 Create a customers_and_contacts.txt file of your own for use in the following problems. Be sure to include sample data that will thoroughly text your bash scripts. Write bash scripts to solve the following problems: Janet in Accounts Receivable needs you to make a copy of customers and contacts reformatted as follows: Last name first then the first name, social security number, date of birth, city, state, street address, and phone number. This should be a comma delimited list suitable for import into Excel. 5 points

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions