rem: res="EGachine.addResource("+res.toSource()+");"; var s=0,e,cols=80; while ((e=s+cols-1)<=res.length) { print(res.substring(s,e)+"\\"); s+=cols-1; } print(res.substring(s,e)); 
add: var stdout="EGachine.addResource(\n";  res=res.toSource();    stdout+=wrapString(res)+");";  eval(stdout); var dec=EGachine.getResource(resname).decode(); if (dec!=resource) throw new Error("egares is buggy and something went wrong");   print(stdout); 
context: function egares(resource) {  var resname=argv[0];  var res=new Resource(resname,resource);  res="EGachine.addResource("+res.toSource()+");";  var s=0,e,cols=80;  while ((e=s+cols-1)<=res.length) {    print(res.substring(s,e)+"\\");    s+=cols-1;  }  print(res.substring(s,e));}
meta: 8182	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8182/1f95df56af4763328ab8e0ca72380587b02f0db0/egares.js/clean/egachine/src/egares.js