pike.git / lib / modules / Parser.pmod / Tabular.pike

version» Context lines:

pike.git/lib/modules/Parser.pmod/Tabular.pike:345:    { array s=({options->name,"::"});    foreach(sort(indices(ret)),string name)    { string value=ret[name];    if(sizeof(value))    { if(verb<-2)    s+=({name,":"});    s+=({value,","});    }    }    string out=replace(s[..<1]*"",({"\n"," "," "}),({""," "," "})); -  if(String.width(out)>8) -  out=string_to_utf8(out); +  out=string_to_utf8(out); // FIXME Debugging output defaults to UTF-8    if(verb>0)    werror("%d %.*s\r",recordcount,verb,out);    else    werror("%d %s\n",recordcount,out);    }    recordcount++;    return options->fold?ret:([options->name:ret]);   }      private void add2map(mapping res,string name,mixed entry)