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
Get step-by-step solutions from verified subject matter experts
