Answered step by step
Verified Expert Solution
Question
1 Approved Answer
uestion 2 [ 6 Points ] Write a shell script that manages a to - do list. Store the to - do list in a
uestion Points
Write a shell script that manages a todo list. Store the todo list in a file called todo.txt in the format: for not started, for doing, for complete The features are as follows:
todolistsh Print all the tasks in todo list that are not completed
todolistsh display Print all tasks with their serial numbers
todolistsh add Add the task in todo list in category of not started
todolistsh todo Print all the tasks not started yet
todolistsh doing Print all the task whose status is 'doing'
todolistsh complete Print all completed tasks
todolistsh markcomplete integers, say nn Mark as complete all the commands whose serial numbers are n n n Note that user may enter any number of serial numbers, upto
todolistsh delete integers Delete all the tasks whose serial numbers are given as arguments
For any other argument give the appropriate error message.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started