LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Search Forums
User Name
Password

Notices


Showing results 1 to 2 of 2
Search took 0.01 seconds.
Search: Posts Made By: bishop2001
Forum: Programming 02-28-2024, 12:20 PM
Replies: 13
Views: 276
Posted By bishop2001
this looks like it it works unless someone has a...

this looks like it it works unless someone has a better way ?

grep -o -P '(?<=something).*(?=bbnu2)'

trying to add a newline after each time there is a match as the file is huge, looks like
...
Forum: Programming 02-28-2024, 10:56 AM
Replies: 13
Views: 276
Posted By bishop2001
newline after each string match

hi i have a file that looks like:

something,weoefr0o[0980123-0] bbnu1 "219E"something,weo23ef0o[0980123-0] bbnu2 "21e9E"something,weoeeef0o[0980123-0] bbnu2 "219E"

each time i encounter the...
Showing results 1 to 2 of 2

 

Didn't find what you're looking for? Try Google:


  



All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration