No, they are real filenames. Let me explain what I'm writing this CGI
script for. I'm taking an input file and making it into a format that
is suitable for running svm_classify on it. So, I parse the given file and
store the formatted data in "input-file.dat". I already have a model file
called "model-file.dat". Now, "svm_classify" takes these two files as
inputs and generates the output file whose name I have to provide
as the third argument, (say) output-file.dat. How do I execute svm_classify now? By the way, I'm writing
this script on a file server, so do I have to give the actual path
which is something like "/.automount/..." instead of "/home/..." ?<br>
<br>
Thanks,<br>
MP.<br><br><div><span class="gmail_quote">On 1/17/06, <b class="gmail_sendername">Frank Wiles</b> <<a href="mailto:frank@wiles.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">frank@wiles.org
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 17 Jan 2006 20:06:29 -0600<br>user perl <<a href="mailto:user.perl@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">user.perl@gmail.com</a>> wrote:<br><br>> Thanks for the reply. However I've installed the svm_classify in the
<br>> same 'cgi-bin' directory. I'm enclosing my code snippet as below. I'd
<br>> appreciate if you could suggest me how to modify the line to execute<br>> svm_classify.<br>><br>> system "svm_classify input-file model-file output-file";<br><br> Right, but you still need to give it the full path so instead of that
<br> use:<br><br> `/path/to/cgi-bin/svm_classify $input_file $model_file $output_file`<br><br> As Im' assuming those were placeholders and not the real file names.<br><br> ---------------------------------<br> Frank Wiles <
<a href="mailto:frank@wiles.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">frank@wiles.org</a>><br> <a href="http://www.wiles.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.wiles.org</a><br> ---------------------------------<br><br></blockquote></div><br>