Skip to main content
Formatting; find tag is wrong here
Source Link
Philippos
  • 13.7k
  • 2
  • 42
  • 82

how How can find special row and replace special strings

iI wrote a todo list Scriptscript with "add","clear" and "find" argument. iI need to pass ana "done" argument and script find related row and replace its first column with another value. howHow can iI do that  ? result

Result of script shows in the follow : 0,H,First Task 0,L,Second Task 0,M,Third Task and

0,H,First Task
0,L,Second Task
0,M,Third Task

and now i want to execute something like "./todo done 2 " ./todo done 2, and obtain the following result: 0,H,First Task 1,L,Second Task 0,M,Third Task

0,H,First Task
1,L,Second Task
0,M,Third Task

how can find special row and replace special strings

i wrote a todo list Script with "add","clear" and "find" argument. i need to pass an "done" argument and script find related row and replace its first column with another value. how can i do that  ? result of script shows in the follow : 0,H,First Task 0,L,Second Task 0,M,Third Task and now i want to execute something like "./todo done 2 " , and obtain the following result: 0,H,First Task 1,L,Second Task 0,M,Third Task

How can find special row and replace special strings

I wrote a todo list script with "add","clear" and "find" argument. I need to pass a "done" argument and script find related row and replace its first column with another value. How can I do that?

Result of script shows in the follow :

0,H,First Task
0,L,Second Task
0,M,Third Task

and now i want to execute something like ./todo done 2, and obtain the following result:

0,H,First Task
1,L,Second Task
0,M,Third Task
Source Link

how can find special row and replace special strings

i wrote a todo list Script with "add","clear" and "find" argument. i need to pass an "done" argument and script find related row and replace its first column with another value. how can i do that ? result of script shows in the follow : 0,H,First Task 0,L,Second Task 0,M,Third Task and now i want to execute something like "./todo done 2 " , and obtain the following result: 0,H,First Task 1,L,Second Task 0,M,Third Task