> > Try to move the pipe into separate alias.sh file: > > #!/bin/sh > echo $1 | /usr/bin/replace http://localhost/ file:/data/ > > Then use alias.sh as an AliasProg. > > By the way, this alias should work without external program. >
Hi, we just dig into the code, it seems that the problem is due to a call to sizeof on the 'char *' aliastr parameter which is previously declared in the caller as a 'char [137]' which return 4 instead of 137 (we've done too much Java recently to remember if it's normal !!!) anyway changing the sizeof(aliastr) with aliasize which is passed as a parameter enable to get the full result of the aliasprog program and not only the 3 initial characters : This is in UdmAliasURL around line 666 !!! .../ if(aprog){ ares=fgets(aliastr,aliasize,aprog); // was fgets(aliastr,sizeof(aliastr),aprog) /... a remaining problem, but it may be a feature ..., is that the indexer now try to retrieve the file using the result of AliasProg and not its parameter (ie Server) while I was expecting that the index would be done with the Server and the result of the AliasProg will be used in the url table. (which may be problematic since you dont know how to do the inverse function ?) chiara -- [EMAIL PROTECTED] "ora volerai. il cielo sara' tutto tuo." (luis sepulveda) ___________________________________________ If you want to unsubscribe send "unsubscribe general" to [EMAIL PROTECTED]