1 write an awk program to pull book titles from a list of classes in a text file the 5346942
1) Write an awk program to pull book titles from a list of classes in a text
file. The file has classes listed with each class having the following format:
CLASS: CS 4-5223 Unix Systems Programming
DESCRIPTION: blah blah blah
BOOK: Ernest Friend; The Marvelous World of Unix Programming; ISBN 000-9999999999; World Pub 2015
TIME: TR 12:30pm-1:45pm
ROOM: CSM 211
Pull the information for each class and print as follows:
Course: CS 4-5223 Unix Systems Programming
Book Title: The Marvelous World of Unix Programming
Book Author: Ernest Friend
Book ISBN: 000-9999999999
2) Given a file listing a month's deposits and checks, write a program that will
give ending balance. The first line has the balance at the beginning of the
month. The format of the file might be as:
2015/09/01:200.00
2015/09/04:112:Electric and Water Company:55.19
2015/09/07::Deposit:100.00
2015/09/09:113:Walmart:77.28
The first line is the date of the balance beginning the file. The next
lines have 4 fields separated by ':'. The first is the date. For checks,
the second field is the check number with the third being the payee and the
last being the amount. For deposits, the second is empty and the last field
has the amount of the deposit.