summaryrefslogtreecommitdiff
path: root/uriunescape.c
blob: aafc6ea3680c5cb5e6f5501e7d7e241f2e339c63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "uri.h"
#include <unistd.h>

int main(int argc,char *argv[]) {
  int len;
  for(argv++,argc--;argc;argc--,argv++) {
   len=uriunescape(*argv,*argv);
   write(1,*argv,len);
   if(argc-1) write(1," ",1);
  }
  return 0;
}