2,828 reputation
824
bio website toggle.be/~ta
location Denmark
age 37
visits member for 2 years, 7 months
seen Dec 18 at 23:43

I'm trained in computer science engineering, but have a wide range of other interests as well.


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.
May
14
revised use sed to replace nbsp, 160, Hex 00a0, Octal 240, non-breaking space
Expanded on the other non-breaking characters mentioned in the question
May
11
awarded  Yearling
May
4
awarded  Constituent