- Name: Josh Edmondson
- Student ID: 2369726
- Email: [email protected]
- Class: CPSC-298
- Assignment: cars
This repo will contain a bash script named “cars.sh” that will help a user maintain an inventory of old cars.
- type the number 1 to enter a new car
- type the number 2 to display the list of cars
- type the number 3 to quit and exit the program
- Year
- Make
- Model
These values will be combined into a single string with the values separated by colons (:) and appended to the My_old_cars file
The program will display the lines of the My_old_cars file, sorted by year
The program will display a “Goodbye” message and exit.
- cars.sh
- cars-input
- My_old_cars
To run the script with input from the cars-input file: ./cars.sh < cars-input