Reputation
7,439
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
14 25
Newest
 Nice Answer
Impact
~262k people reached

Apr
11
comment Counting program fails in arithmetic test
Works for me. Have you really posted the code you're running? Seems like $counter is empty in your real code (use "$counter").
Apr
8
comment Bash regular expression comparison fail for hex byte \x01
Can you run the code through cat -v? It apparently uses the literal character ^A which disappears on StackOverflow. When I replaced the empty places with ^A, I got 0's everywhere (4.3.33(1)).
Apr
8
comment Remove special characters in a text file
@AomineDaiki: Check the update.
Apr
8
revised Remove special characters in a text file
added 133 characters in body
Apr
8
comment Remove special characters in a text file
@Archemar: fixed, thanks
Apr
8
revised Remove special characters in a text file
deleted 1 character in body
Apr
8
answered Remove special characters in a text file
Apr
7
answered How can I filter ping results by time?
Apr
7
answered Using sed for brackets
Apr
5
answered create an array
Apr
2
answered Variable not expanding inside another variable bash
Apr
2
revised Unix Shell : Array assignment not working
indentation
Apr
1
awarded  Enlightened
Apr
1
awarded  Nice Answer
Apr
1
answered while: command not found
Mar
31
comment Pattern matching and removal of that pattern using sed
stackoverflow.com/q/29369594/1030675
Mar
30
comment grep log lines of a specific id request
@jik: check the update.
Mar
30
revised grep log lines of a specific id request
added 148 characters in body
Mar
30
comment grep log lines of a specific id request
@jik: When I run it on your samples, I don't get any duplicates. Maybe replace the *.log with the actual mask that doesn't include output of your previous grep command?
Mar
30
comment grep log lines of a specific id request
@jik: You don't show any such lines in the samples.