Patrick Georgi wrote:
Am 08.05.2011 20:01, schrieb Peter Stuge:
if(!strncmp(line[strspn(line," ")],"\r\n",2) continue;
More like: char val=line[strspn(line," ")]; if (val=='#' || val=='\n' || val=='\r') continue;
This has the benefit of handling " # comment"
..which is another change in the rules. :)
and mac-style newlines, too.
Hmm.. Can those old Macs even connect to the internet? :p
//Peter