/srv/irclogs.ubuntu.com/2017/12/06/#ubuntu-za.txt

inetprogood mornings08:46
chesedomorning all09:31
* chesedo is back from a week's vacation09:31
chesedoi am having issues with a bash script which i have reduced to this -> https://bin.snyman.info/mmmpkcc509:34
Kiloshi there all of ya10:25
chesedohi oom Kilos10:26
chesedohow are things?10:26
inetprochesedo: seq 1 310:31
inetprowhat are you trying to achieve?10:31
inetproor10:36
inetprofor i in `seq 1 3`; do echo "In loop $i";done10:36
inetproor10:36
inetprofor i in {1..3}; do echo "In loop $i";done10:36
Kiloshi chesedo ok ty lad and you?10:47
Kilosbad net as usual10:47
inetprowelcome back oom Kilos10:48
inetprooh and hi as well10:48
chesedoinetpro: 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 afterwards10:49
chesedoKilos: good ty10:49
inetprochesedo: ah, that makes sense10:50
chesedoinetpro: the actual script with my current workaround -> https://bin.snyman.info/mmmgwth310:53
chesedo`MOVED` is the counter10:55
chesedoline 70 is the inc, and 74-80 the workaround case10:57
chesedobut i would like to move the workaround case outside the pipe to have the code cleaner and easier to understand10:58
inetprointeresting11:03
Kilosty inetpro and hi, i was here yesterday and you werent13:17
Kilosjust your ghost was13:17
Kilosnot the one that greets13:17
inetprooh my! 13:18
chesedolol13:23
Kilos'lol13:26
pavlushkaahoy ZA19:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!