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; }