Skip to content
Snippets Groups Projects
Commit 44e70868 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

new emulated tool

Rev: NT/tools/wc:1.1
parent b3d5a46d
No related branches found
No related tags found
No related merge requests found
#!/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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment