Branch: Tag:

2000-01-10

2000-01-10 00:39:12 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

new emulated tool

Rev: NT/tools/wc:1.1

1: + #!/usr/local/bin/pike    -  + inherit "lib.pike"; +  + int main(int argc, string *argv) + { +  argv[0]=find_next_in_path(argv[0],"wc"); +  if(file_stat(argv[-1]+".exe")) +  argv[-1]+=".exe"; +  exece(argv[0],argv[1..]); +  exit(69); + }   Newline at end of file added.