This happens with other tools as well. It is a bug in the NWC2 User Tool Starter Kit. Input like this:
|Note|Dur:4th|Pos:0|Opts:StemLength=0
is changed to this by the start kit library:
|Note|Dur:4th|Pos:0|Opts:StemLength
Test script:
<?php
require_once("lib/nwc2clips.inc");
$clip = new NWC2Clip('php://stdin');
foreach ($clip->Items as $item) {
$o = new NWC2ClipItem($item);
echo "Ref: $item";
echo "New: ".$o->ReconstructClipText()."\n";
unset($o);
}
$usermsg = <<<__EOMSG
See the standard output file for a comparison of the library
output to the input clip.
__EOMSG;
//
fputs(STDERR,$usermsg);
exit(NWC2RC_REPORT);
?>
We will release an updated starter kit soon.