[08:46] <inetpro> good mornings
[09:31] <chesedo> morning all
[09:31]  * chesedo is back from a week's vacation
[09:34] <chesedo> i am having issues with a bash script which i have reduced to this -> https://bin.snyman.info/mmmpkcc5
[10:25] <Kilos> hi there all of ya
[10:26] <chesedo> hi oom Kilos
[10:26] <chesedo> how are things?
[10:31] <inetpro> chesedo: seq 1 3
[10:31] <inetpro> what are you trying to achieve?
[10:36] <inetpro> or
[10:36] <inetpro> for i in `seq 1 3`; do echo "In loop $i";done
[10:36] <inetpro> or
[10:36] <inetpro> for i in {1..3}; do echo "In loop $i";done
[10:47] <Kilos> hi chesedo ok ty lad and you?
[10:47] <Kilos> bad net as usual
[10:48] <inetpro> welcome back oom Kilos
[10:48] <inetpro> oh and hi as well
[10:49] <chesedo> inetpro: that is just my reduced case. i need to to keep count of something in a loop (which increment based on some condition) and have the value available afterwards
[10:49] <chesedo> Kilos: good ty
[10:50] <inetpro> chesedo: ah, that makes sense
[10:53] <chesedo> inetpro: the actual script with my current workaround -> https://bin.snyman.info/mmmgwth3
[10:55] <chesedo> `MOVED` is the counter
[10:57] <chesedo> line 70 is the inc, and 74-80 the workaround case
[10:58] <chesedo> but i would like to move the workaround case outside the pipe to have the code cleaner and easier to understand
[11:03] <inetpro> interesting
[13:17] <Kilos> ty inetpro and hi, i was here yesterday and you werent
[13:17] <Kilos> just your ghost was
[13:17] <Kilos> not the one that greets
[13:18] <inetpro> oh my! 
[13:23] <chesedo> lol
[13:26] <Kilos> 'lol
[19:06] <pavlushka> ahoy ZA