Reputation
2,968
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
9 24
Newest
 Yearling
Impact
~118k people reached

May
11
awarded  Yearling
Apr
5
answered How to make sed print to the end of line from socat
Mar
25
comment How to push the original line down after copy and paste in Vim?
It sounds like you are using Visual-Block mode (Ctrl-v), try selecting the lines with Visual-Line mode instead (Shift-v)
Nov
21
awarded  Notable Question
Sep
30
awarded  Explainer
Jun
25
comment How to use sed to examine the line without specific content?
A caret ("hat") at the beginning of a character group ([]) means the complementary group, i.e. everything that is not contained in the group. So [^a] means match anything that is not a.
Jun
17
awarded  Nice Answer
Jun
16
comment Using Grep or AWK to find all of the occurences of a specified string
If the data file is huge, you should redefine the record separator. The answers to this similar question on unix.sx might be useful.
Jun
13
revised add line number after matched pattern in vim
Added vim alternative and nl/sed alternative
Jun
13
revised add line number after matched pattern in vim
Added vim alternative
Jun
13
answered add line number after matched pattern in vim
Jun
13
revised add line number after matched pattern in vim
Added code formatting
Jun
12
answered Extract lines based on long list of line numbers
Jun
11
comment Check which string occurs first in a growing file
@Eddy: I know too little about output.log to give a better answer. Can you provide more information? For example: How frequently do error and success occur? Do you have any control over when the program is run?
Jun
11
revised Check which string occurs first in a growing file
added 3 characters in body
Jun
11
answered Check which string occurs first in a growing file
May
20
revised How do I print multiple sections in a text file?
Added a brief explanation
May
20
answered How do I print multiple sections in a text file?
May
14
comment use sed to replace nbsp, 160, Hex 00a0, Octal 240, non-breaking space
As mentioned in a comment to my answer by senarvi, your file seems to be encoded as UTF-8 where non-breaking space characters are specified as C2 A0, see the encodings section of the wikipedia page. I have expanded my answer to account for this. I see you found the correct solution to deal with this.
May
14
comment use sed to replace nbsp, 160, Hex 00a0, Octal 240, non-breaking space
@senarvi: You are correct, I have expanded the answer to account for this. Thanks.