装 node.js ,在命令行运行
(cat ./mypac; echo 'console.log ( FindProxyForURL("http://www.google.com/", "www.google.com") )') | nodejs #对于 URL 方式的 pac ,可以执行下面这句 (curl -s http://192.168.1.11/proxy-20160614-3.pac; echo 'console.log ( FindProxyForURL("http://www.google.com/", "www.google.com") )') | nodejs 