in reply to Batch to Perl translation (just 1 line, not the whole script)
On the face of it, a simple:
print <<'stuff'; BAYES; bayesClass=nameOfClassVariable; END stuff
Or even just:print "BAYES;\nbayesClass=nameOfClassVariable;\nEND\n"; ought to send the same text to STDOUT.
The missing information is what is in %1 in the .bat script?
|
|---|