Section One BBS

Welcome, Guest.


Subject: More... Date: Sat Jan 28 2017 09:37 pm
From: Janis Kracht To: All

Ok, latest script:

int main() {
char g;
char x;
char i;
printf("\e[0;37;0m\e[1;1H\e[2J\e[1;1H");
//above is the cls
g=system(sprintf("/usr/bin/curl wttr.in/ithaca -O"),1,0); x=system(sprintf("awk 
'$2 !~ /^sa/ && $1 < 8' ithaca > /home/bbbs/shortith"),1, 0);
i=system(sprintf("/home/bbbs/shortith"),1,0);
getch();
return(i);
}

I must have to escape something in last sprintf line, that's all I can figure.. 
again, ithaca is created.. but not shortith.

This is what shortith should look like:

cat shortith

  _`/"".-.     Light Snow
   ,\_(   ).   21 - 28 ░F
    /(___(__)  ? 8 mph
      *  *  *  9 mi
     *  *  *   0.0 in

The ? is a weird arrow, actually.

--- BBBS/Li6 v4.10 Toy-3
 * Origin: Prism bbs (1:261/38)

Previous Message       Next Message
Replies: More... (mark lewis)