Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
7
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
Feb
19
asked Adding corresponding elements from two arrays into new array using csh shell?
Jan
13
accepted Get line after match using awk
Jan
13
comment Adding “:” time-formatting using awk
@Costas +1 thanks
Jan
13
asked Get line after match using awk
Jan
12
comment Adding “:” time-formatting using awk
@Costas i tested the code substr($0,5,6) for e.g 024023 152030 with length n to be 6 it should never go as far and match space and 15?
Jan
12
comment Adding “:” time-formatting using awk
@Costas sorry for confusion I want to know why substr($0,5,6) when run separately matches 23 05 it should only match 23.Can you please explain?
Jan
12
comment Adding “:” time-formatting using awk
+1 excellent work but I'm confused on 4 in code substr($0,5,6) it brings results as 23 05 why?
Jan
11
accepted Adding “:” time-formatting using awk
Jan
11
comment Adding “:” time-formatting using awk
+1 s/://1 over here 1 matches the first occurrence?
Jan
11
comment Adding “:” time-formatting using awk
@joepd see update
Jan
11
comment Adding “:” time-formatting using awk
I want to use awk @Costas
Jan
11
revised Adding “:” time-formatting using awk
added 78 characters in body
Jan
11
asked Adding “:” time-formatting using awk
Jan
11
accepted Removing “,” for calculation and adding it back using awk
Jan
11
comment Removing “,” for calculation and adding it back using awk
excellent +1 thats so neat, only problem left is to removecommas() to return results in total.
Jan
11
asked Removing “,” for calculation and adding it back using awk
Jan
8
accepted Move lines 2 3 after line 5 using awk
Jan
8
comment Move lines 2 3 after line 5 using awk
excellent, may i know at the END why print l2 and l3 again?
Jan
8
comment Move lines 2 3 after line 5 using awk
Thanks, but did you run this cmd? I don't think it delivers the right results
Jan
8
comment Move lines 2 3 after line 5 using awk
yes other lines should follow through.