Question: You have to create Bash Function named BookInfo in the script which will take data from HereDocument text. Six variables are declared in the function

You have to create Bash Function named BookInfo in the script which will take data from HereDocument text. Six variables are declared in the function which will take data from user.

-ISBN,

-bookName,

-authorName,

-edition,

-publication

-price

 

Print all these variables output on a file name “ MyBooks”

NOTE: Every time you run the script the previous output must NOT be lost

Step by Step Solution

3.39 Rating (155 Votes )

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 Computer Engineering Questions!