Timeline for How can i grep for multiple patterns, and print them on the same line?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 9, 2020 at 20:31 | comment | added | pizzapants184 | This was useful for me when I wanted to print only the integers from each line of a file, where each line had exactly 5 integers and other unneeded text. grep -o -E -- '-?[0-9]+' file | paste - - - - - | |
| Sep 17, 2018 at 20:01 | review | Late answers | |||
| Sep 17, 2018 at 20:02 | |||||
| Sep 17, 2018 at 19:45 | review | First posts | |||
| Sep 17, 2018 at 19:53 | |||||
| Sep 17, 2018 at 19:44 | history | answered | Akash Patel | CC BY-SA 4.0 |