Timeline for How can i grep for multiple patterns, and print them on the same line?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 17, 2017 at 20:44 | comment | added | Barmar | He just showed the output for one line of input. Presumably the file has more than one line that matches the pattern. | |
| Mar 17, 2017 at 20:42 | comment | added | DopeGhoti | The example "This is what I want" output example shows all of the output combined onto the same line. | |
| Mar 17, 2017 at 20:40 | comment | added | Barmar | I didn't ask for anything. He asked that it not break up the lines. | |
| Mar 17, 2017 at 20:39 | comment | added | DopeGhoti | The OP explicitly asked for all of the newlines to be removed; what did you expect? | |
| Mar 17, 2017 at 20:24 | comment | added | Barmar | This will combine output onto the same line even if it wasn't in the same line in the input file. | |
| Mar 17, 2017 at 18:30 | history | edited | Jeff Schaller♦ | CC BY-SA 3.0 | typographical fix |
| Mar 17, 2017 at 17:50 | history | answered | DopeGhoti | CC BY-SA 3.0 |