Timeline for count number of words between 2 fixed words
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 28, 2016 at 13:57 | vote | accept | Amit | ||
| Nov 27, 2016 at 23:49 | history | edited | Rui F Ribeiro | CC BY-SA 3.0 |
added 9 characters in body; edited title
|
| Nov 25, 2016 at 14:46 | answer | added | Costas | timeline score: 1 | |
| Nov 25, 2016 at 13:20 | answer | added | Sundeep | timeline score: 1 | |
| Nov 25, 2016 at 13:16 | comment | added | Amit | Hi Sundeep, I have added details to the question. Hope if clarifies the requirement | |
| Nov 25, 2016 at 13:15 | history | edited | Amit | CC BY-SA 3.0 |
added 178 characters in body
|
| Nov 25, 2016 at 13:10 | comment | added | Amit | @Sundeep. The last line should be name of input file and it should be printed if there is atleast one matching section. There can be lines not matching TCUST between THEAD and TTAIL. I will edit the question and add these details for better understanding | |
| Nov 25, 2016 at 13:03 | comment | added | Sundeep |
can you clarify: 1) the last line should be name of input file? and should that be printed only if there was at least one matching section? 2) can there be lines not matching TCUST between THEAD and TTAIL?
|
|
| Nov 25, 2016 at 13:01 | history | edited | Sundeep | CC BY-SA 3.0 |
formatting
|
| Nov 25, 2016 at 12:59 | history | edited | Amit | CC BY-SA 3.0 |
added 104 characters in body
|
| Nov 25, 2016 at 12:57 | comment | added | Amit | @Sundeep. Yes. I want to extract lines between THEAD and TTAIL if TCUST occurs more than once | |
| Nov 25, 2016 at 12:43 | comment | added | Amit | Hi Sundeep- expected result is THEAD TCUST TCUST TTAIL THEAD TCUST TCUST TTAIL | |
| Nov 25, 2016 at 12:37 | comment | added | Amit | Hi Stéphane, Thanks for your reply. I want to find all occurrences of TCUST records where it is more than 1 between THEAD and TTAIL records, then print that line from THEAD to TTAIL (with more than 1 TCUST record) and also print the filename | |
| Nov 25, 2016 at 12:21 | comment | added | Stéphane Chazelas |
What line do you want to print? Or is it the line number? Of THEAD, TCUST lines? Or the count of TCUST lines? Each count separately or as a total? An expected result would help.
|
|
| Nov 25, 2016 at 12:17 | history | edited | Stéphane Chazelas | CC BY-SA 3.0 |
added 54 characters in body; edited tags
|
| Nov 25, 2016 at 12:12 | review | First posts | |||
| Nov 25, 2016 at 12:36 | |||||
| Nov 25, 2016 at 12:09 | history | asked | Amit | CC BY-SA 3.0 |