Timeline for Extracting texts between two markers not always working
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 9, 2021 at 0:29 | comment | added | Freddy | There's another flaw (not yours). The input only needs the start marker to print the text. | |
| May 9, 2021 at 0:28 | comment | added | xhienne | Usually the OP uses the same script with different markers. Now he asks us to fix it when the markers are the same. By toggling like you are doing, the script is now broken when the markers are different. | |
| May 9, 2021 at 0:23 | history | edited | guest_7 | CC BY-SA 4.0 |
deleted 37 characters in body
|
| May 9, 2021 at 0:16 | comment | added | guest_7 | Yes that is correct, it will never enter there. Toggling extract is the way to go in that case. | |
| May 9, 2021 at 0:13 | comment | added | xhienne |
If the two markers are the same, when will you hit the [[ "$line" == "$3" ]] line, then?
|
|
| May 9, 2021 at 0:12 | history | answered | guest_7 | CC BY-SA 4.0 |