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

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