subject

For this assignment, you will use bash create a simple inventory system. The system will store basic information about items and allow the user to create, read, update, delete, and total these items. This assignment requires only the utilities used so far in the lecture notes. Further, you may not use sed, awk, find, grep, Python, perl, any programming language, scripting language, or other tools not otherwise permitted. The only external tool you may utilize is bc, which can be used to perform floating-point arithmetic. Storing Item Information Item information will be stored in text files (ending with the extension .item).

1. Files will be stored in a directory named data, located within the same directory as your shell script.

2. Each file will be named based on its unique item number, an integer (henceforth referred to as item_num) with exactly four digits, followed by the extension .item.

3. An item file consists of exactly three lines, in the following format: • item_name (string with no whitespace) simple_name (string) • unit_price (floating point number) cur_qty (unsigned integer) max_qty (unsigned integer) • item_desc (string)

Script Execution When the script is run, the following should occur.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
question
Computers and Technology, 24.06.2019 05:00
Who is most likely be your target audience if you create a slide presentation that had yellow background and purple text
Answers: 2
question
Computers and Technology, 24.06.2019 07:40
What type of multimedia are live news feeds? live news feeds are examples of multimedia.
Answers: 2
You know the right answer?
For this assignment, you will use bash create a simple inventory system. The system will store basic...
Questions
question
Mathematics, 21.01.2021 01:10
question
World Languages, 21.01.2021 01:10
question
Social Studies, 21.01.2021 01:10
question
Mathematics, 21.01.2021 01:10
Questions on the website: 13722363