Bug 59561

Summary: ktouch ktouch-gen.pl generates invallid "r" in training data, and fix.
Product: [Applications] ktouch Reporter: Tijs van den Bogaard <tijs>
Component: generalAssignee: Haavard Froeiland <haavard>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Tijs van den Bogaard 2003-06-09 17:19:09 UTC
Version:           1.2 (using KDE 3.1.2)
Installed from:    Gentoo
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.20

ktouch-gen.pl generates an unallowed character ("r") in the trainingsdata.

Here's how to reproduce the bug, after this comes the bugfix.


When ./temp contains:

-------------- start of ./temp -----------------
length-of-line 20
number-of-line 10

jfkd;a
-------------- end of ./temp -------------------


And the following command to create the trainings data is given:

$ perl ktouch-gen.pl temp < data.sort
#############################################################
##
# KTouch training file generated Mon Jun  9 16:39:08 2003
#
# Perl Script written by Steinar Theigmann & H
Comment 1 Haavard Froeiland 2003-06-10 19:44:48 UTC
*** Bug has been marked as fixed ***.