LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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.02 seconds.
Search: Posts Made By: pan64
Forum: Programming 02-29-2024, 01:38 AM
Replies: 13
Views: 278
Posted By pan64
grep is not really the ideal tool for this, grep...

grep is not really the ideal tool for this, grep is used to search for something, not for creating formatted output. But anyway, if you wish:
grep -Po 'something([^"]*"){2}'
Forum: Programming 02-28-2024, 11:22 AM
Replies: 13
Views: 278
Posted By pan64
Yes, would be nice to try to solve it by...

Yes, would be nice to try to solve it by yourself. you will feel the sense of success.
Otherwise you can solve it using bash, sed, awk, perl, python or whatever language you prefer (including grep).
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:06 PM.

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