10,656 reputation
64393
bio website
location Melbourne, Australia
age 64
visits member for 4 years, 5 months
seen 8 hours ago

Using Linux (Ubuntu) since September 2010


2d
awarded  Custodian
2d
reviewed Reject and Edit keep out line break
2d
revised keep out line break
added 73 characters in body
2d
answered keep out line break
Mar
25
awarded  Favorite Question
Mar
24
comment Remove Same Column Values
Good! The cut version is approximately 3 times faster than split version, and even that one is significantly faster than what I came up with (+1). BTW, you seem to have an extra print s, c; in the cut version
Mar
23
comment Remove Same Column Values
The add and divide method can easily give false positives. eg. 3 lines of a file may have a column with 8+ 9+10=27, which gives the same result as 3 lines containing 9+9+9=27..
Mar
23
answered Remove Same Column Values
Mar
23
comment Remove Same Column Values
How big is your big file? Is it so big that manipulating it in an array will use up all your free memory?
Mar
16
awarded  Guru
Feb
25
comment Grep all string which do not starts with number(s)
By default, grep uses basic regular expressions. This means that your ? is being treated as a literal question-mark. Either escape the question-mark \?, or use the -E option for extended regular expressions, in which case ? is a pattern character.
Feb
16
awarded  Famous Question
Feb
14
answered What regular expression in grep searches for strings of three same letters in a row?
Feb
6
revised Help with script over a list of files
added 126 characters in body
Feb
6
answered Help with script over a list of files
Jan
15
awarded  Popular Question
Jan
13
awarded  sed
Dec
19
awarded  Nice Answer
Dec
12
awarded  Popular Question
Nov
24
comment How do I find the X window ID under the mouse pointer in bash?
This gives the ID of the active window instead of the window under the mouse pointer.