5a7ab61998-01-31Fredrik Hübinette (Hubbe) #!/usr/local/bin/pike inherit "lib.pike"; int main(int argc, string *argv) {
4256641998-01-31Fredrik Hübinette (Hubbe)  if(sscanf(argv[-1],"%*[a-zA-Z]:%*s")==2)
5a7ab61998-01-31Fredrik Hübinette (Hubbe)  { argv[0]="copy"; exit(do_cmd( Array.map(argv,fixpath))); }else{
65d78e1998-10-21Fredrik Hübinette (Hubbe)  exece(find_next_in_path(argv[0],"cp"),argv[1..]);
5a7ab61998-01-31Fredrik Hübinette (Hubbe)  exit(69); } }