File: cutchoice2

package info (click to toggle)
wims 2%3A4.29a%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 185,704 kB
  • sloc: xml: 366,687; javascript: 120,570; ansic: 62,341; java: 62,170; sh: 7,744; perl: 3,937; yacc: 3,217; cpp: 1,915; lex: 1,805; makefile: 1,084; lisp: 914; pascal: 601; python: 520; php: 318; asm: 7
file content (18 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
slib_lang_exists_tmp=yes

slib_title=Cut out embedded choices for OEF
slib_parms=1\
,the input text (embedding delimiter: `??')
slib_out=Text output with each choice in isolated rows
slib_comment=This is improved from text/cutchoices, with the possibility\
for the cut field at the beginning of a line or immediately following another\
cut fields. It also allows (and translates to html code) the semi-colons\
embedded in the input.\
<p>For example, on the input text\
<pre>The class has ??3,5,6,7?? pupils with average score of ??20,30,40??</pre>\
will be transformed into\
<pre>\
The class has;3,5,6,7;pupils with average score of;20,30,40\
</pre>\
The lines of even numbers may then be singled out for creating embedded\
choices.