Reputation
1,628
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
2 21 42
Impact
~181k people reached

  • 0 posts edited
  • 1 helpful flag
  • 198 votes cast
Apr
27
awarded  Notable Question
Apr
26
awarded  Popular Question
Apr
9
comment Is there a Linux graphics program that displays man commands in a browser?
i assume that sites that already publish man pages are not acceptable? For example explainshell.com
Mar
30
awarded  Popular Question
Mar
27
comment How can I extract the text between two strings in a log file?
@Costas Aborted (core dumped).
Mar
27
comment How can I extract the text between two strings in a log file?
If I may be so bold, could you consider explaining the logic of the command (or pointing me to a reference for sed expression scripts)? I want to understand what this is doing so I can avoid asking similar questions in the future.
Mar
27
comment How can I extract the text between two strings in a log file?
@Costas Immediately went to error for that one.
Mar
27
comment How can I extract the text between two strings in a log file?
I'm marking @Costas's answer as the "accepted solution" but want to thank you again for your time, efforts, and especially patience. It was greatly appreciated.
Mar
27
accepted How can I extract the text between two strings in a log file?
Mar
27
comment How can I extract the text between two strings in a log file?
Bingo. That works.
Mar
27
comment How can I extract the text between two strings in a log file?
Hmm... I suspect that will work. sed is now churning away at 25% cpu (and has been for the past 10 minutes). I'll let it do it's thing and report back when it finishes.
Mar
27
comment How can I extract the text between two strings in a log file?
I'm getting an error: sed: -e expression #1, char 34: Unmatched \{
Mar
27
revised How can I extract the text between two strings in a log file?
Changed name of marker to make example more clear.
Mar
27
comment How can I extract the text between two strings in a log file?
Same error unfortunately.
Mar
27
comment How can I extract the text between two strings in a log file?
That looks promising but the names of the string markers are quite different from one another so I don't think the [34] would work. I'll revise my example above to make that more clear.
Mar
27
revised How can I extract the text between two strings in a log file?
typos.
Mar
27
comment How can I extract the text between two strings in a log file?
That captures the type of text (as well as leaving out the marker names - which is great) but still eventually results in Aborted (core dumped). Thanks anyway though.
Mar
27
revised How can I extract the text between two strings in a log file?
typos.
Mar
27
asked How can I extract the text between two strings in a log file?
Mar
25
accepted How can I search in vim for a pattern that is NOT case sensitive?