WORKTEXT   2.4  12-VI-2008

Work on text files (.TXT)

WORKTEXT input_file output_file [/option]

Options:
   /A:c  Add chars c at the end of every line
   /CA   convert text from Ascii DOS to Ansi
   /CE   convert Eq (=) to <tab> (CROSWRD)
   /CI   convert: Insert last non empty item: L1: item<tab>definition1; L2: <tab>definition2 (CROSWRD)
   /CT   convert: put Term always to first place: TERM<tab>definition (CROSWRD)
   /CCc1:c2 convert code1 to code2 (CROSWRD)
   /D    delete Double lines
   /DF:s Divide a File in 2 parts: s = separator text
   /DI   delete Double lines; Ignore double spaces, spaces before tab, spaces at the end of line
   /E    delete Empty lines
   /I    skip numbers and Insert tab: <space><space><nb>text => <space><tab><nb>text
   /L    LetterMode: <letter><tab><nb><space><nb>text => <letter><space><nb><space><nb> (text deleted)
   /N    separate Numbers by tab: 1.2<spaces>text or 1:3<spaces>text => 1.2<tab>text; beginning of a line only
   /Q    Quit program
   /R:c  Remove chars c at the end of every line
   /RA   Remove " if one element (between tabs): "text 1"<tab>"text 2"<tab>text3 => text 1<tab>text 2<tab>text3
   /RC   Remove in each Column spaces at the end of a column (columns are separated by tabs)
   /RFn  replace first <space> (if any) to <tab> before <tab> n
   /RLn  Remove line when length of first word till tab is <= n
   /RP:c Remove Partial text c in line which starts from position 1 in line
   /RS   Remove lines with only spaces and/or tabs
   /RT:c remove line when text c starts from position 1 in line
   /RW:c remove line when word c is in line
   /S    Stop at the end: show message
   /T    convert Table to HTML: <R><tab>G<tab>B<tab>text<tab>...

http://www.pf-soft.ch/worktext.php

