5,959 reputation
1241
bio website toggle.be/~ta
location Denmark
age 37
visits member for 2 years, 6 months
seen 4 hours ago

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


May
28
answered can I make awk cut its input according to '\n'?
May
21
answered How to remove duplicate lines with awk whilst keeping empty lines?
May
4
awarded  Nice Answer
Apr
13
awarded  Yearling
Apr
7
awarded  Nice Answer
Apr
3
comment Merge 2 files based on all values of the first column of the first file
join can still work if the line order is not important, see my answer below.
Apr
3
answered Merge 2 files based on all values of the first column of the first file
Mar
25
comment How to find and replace a field column value in UNIX
@MeghanaPrakash: Did you try with the latest version? I recently added an ending anchor as suggested by Stephane.
Mar
25
revised How to find and replace a field column value in UNIX
Handle overlapping matches
Mar
25
comment How to find and replace a field column value in UNIX
@StephaneChazelas: Interesting, this seems to be because of overlapping matches. It can be fixed by looping, as you have already found.
Mar
25
comment How to find and replace a field column value in UNIX
@StephaneChazelas: good point, I added a terminal anchor as well, thanks.
Mar
25
revised How to find and replace a field column value in UNIX
Handle elements like |123-abc|
Mar
25
comment How to find and replace a field column value in UNIX
@MeghanaPrakash: This was tested with GNU sed. Which version of sed are you using?
Mar
25
revised How to find and replace a field column value in UNIX
Keep only GNU answer until a posix sed is available
Mar
25
reviewed Approve suggested edit on How to find and replace a field column value in UNIX
Mar
25
answered How to find and replace a field column value in UNIX
Mar
21
reviewed Approve suggested edit on sed tag wiki
Mar
20
awarded  Nice Answer
Mar
11
reviewed Approve suggested edit on Kernel /proc ipv6 settings precedence
Feb
26
reviewed Approve suggested edit on Is it possible to use variables in count braces in Bash?