Problem

In your menu design,when users enter P or p, the application should print a phone list....

In your menu design,when users enter P or p, the application should print a phone list. Theawk program offers a good example of how the UNIX/Linux shell programmer canaccelerate development because a single awk command can select fields from many records and display them in a specified format on the screen. In this project, you develop the phlist1 script and use awk to display a phone list.

To create the phlist1 script:

1. From the source directory, use the editor of your choice to create the phlist1 script as follows:

2. Save the file and exit the editor.

3. Give the file execute permission by typing chmod a+x phlist1 and pressing Enter. Run the script by typing ./phlist1 and pressing Enter. (See Figure 6-19.)

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search