soliwilos has quit [Remote host closed the connection]
schillingklaus has joined #kisslinux
schillingklaus has quit [Quit: schillingklaus]
soliwilos has joined #kisslinux
chomwitt has joined #kisslinux
rohan has quit [Ping timeout: 248 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan>
hi
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
<sewn>
omg hi sad_pla
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
<sad_plan>
I belive you were right yesterday sewn. it appears to be $#*
<sad_plan>
my script is still broken, hence why I thought it wasnt correct.
<Ellowee[m]>
Uh did my message send twice
<Ellowee[m]>
Nvm silly element
<sewn>
<sad_plan> "I belive you were right yesterda..." <- woohoo man pages came in handy
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
<sewn>
<Ellowee[m]> "Nvm silly element" <- use cinny
<sewn>
or for someone like you use fluffychat
rohan has quit [Ping timeout: 248 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 268 seconds]
rohan has joined #kisslinux
<sad_plan>
sewn, indeed :D
rohan has quit [Ping timeout: 255 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 276 seconds]
sad_plan has quit [Remote host closed the connection]
rohan has joined #kisslinux
<midfavila>
i love having an indian restaurant like five minutes from my doorstep
<midfavila>
they make the best food and it's super affordable too
<sewn>
same except its 20 minutes away
<sewn>
and its ALWAYS FUCKING FULL
<sewn>
CUZ THE FOOD IS SO DELICIOUS
<sewn>
god i love butter chicken
schillingklaus has joined #kisslinux
<midfavila>
this place is usually pretty slow
<midfavila>
get fucked lmaooo
<midfavila>
i need to learn to make curries
<testuser[m]123>
<sewn> "god i love butter chicken" <- So good
<sewn>
ues gp
<sewn>
sooooo gos
schillingklaus has quit [Quit: schillingklaus]
rohan has quit [Ping timeout: 276 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 248 seconds]
rohan has joined #kisslinux
rohan has quit [Ping timeout: 248 seconds]
rohan has joined #kisslinux
sad_plan has joined #kisslinux
<sad_plan>
midfavila: could you tell me why my loop dont work here? http://0x0.st/Hi46.txt
<sad_plan>
I just get a 'rc: null list in concatenation' error. and I honestly dont know wtf is wrong here...
<sad_plan>
I can run the -s flag with an argument, but not just -s, which calls the loop, to run all of those in ./run/
<sad_plan>
if you have the time obviously
<midfavila>
your first problem is that you don't check if the number of arguments is equal to two
<midfavila>
which would explain the null list. you're not handling that possibility
<sad_plan>
hm, I initially did something like that earlier, but I couldnt get it to work, due to the same reason. just a sec, I can send you that instead
<midfavila>
also some of your printfs look weird, just from a formatting standpoint
<sad_plan>
yeah, I just find echo and prinf in rc to be really strange, if I wanna print with variables.
<sad_plan>
I havent really wrapped my head around a proper way to do it yet
<midfavila>
lt 2 would be better but that's an improvement
<midfavila>
and just remember that rc doesn't wordsplit
<midfavila>
as for list concatenation, i don't see anything that could lead to that on the surface
<sad_plan>
-lt 2 instead of -gt 0, you mean?
<midfavila>
maybe some syntactic sugar hiding it, idk
<midfavila>
i only looked at the first conditional
<midfavila>
i'm not gonna lie
<sad_plan>
yeah i know. as I said, im having some issues with printing variables like one would assume on regular shell. with echo, aswell as with printf, you can wrap it with singlequotes..
<midfavila>
i'm even more braindead than usual
<midfavila>
so i'm not really in a state to help here
<sad_plan>
ah, the wc -c part?
<sad_plan>
ah ok
<sad_plan>
being line 23
<sad_plan>
or this one? test $#* -eq 0 && service=$0 || test $#* -gt 0 && service=$1 && shift 1