113 reputation
6
bio website google.com
location Asia
age 40
visits member for 3 years, 9 months
seen Jan 21 '12 at 8:03

Just another human


Dec
10
awarded  Popular Question
Dec
23
comment Diff the output of two `awk` commands
@Johan: Thanks for the comment. Unfortunately, the "production" box is a bit borked when it comes to configuration so all developers have strictly read only rights (yes, even home directories, sad but true).
Dec
22
awarded  Scholar
Dec
22
accepted Diff the output of two `awk` commands
Dec
22
comment Diff the output of two `awk` commands
Thanks for the link, accepted! :)
Dec
21
awarded  Student
Dec
21
awarded  Editor
Dec
21
revised Diff the output of two `awk` commands
added 203 characters in body
Dec
21
comment Diff the output of two `awk` commands
Unfortunately that isn't acceptable since I'm logged on to a production box with no write access.
Dec
21
comment Diff the output of two `awk` commands
Wow, the second solution works like a charm (unfortunately can't use first since I can't create a file on that box). BTW, can you throw some pointers/links on what kind of black magic this <() construct is and what is it called?
Dec
21
asked Diff the output of two `awk` commands
Mar
12
comment Zero-fill numbers to 2 digits with sed
Oh, wasn't aware that <> is a word boundary in shell regex syntax. Come to think of it, even `sed 's/\b[0-9]\b/0&/' also works. Thank you both. :)
Mar
12
awarded  Supporter
Mar
12
comment Zero-fill numbers to 2 digits with sed
+1 for an innovative solution.
Mar
12
awarded  Autobiographer
Mar
12
comment Zero-fill numbers to 2 digits with sed
Can you explain how this works? This is the first time I'm looking at the \<[0-9]\> construct which I think is the one responsible for matching the single digits but not sure what this construct is called. Thanks.