[Kst] [Bug 120827] New: Command line option -f fails for some ascii files
tskisner.public at gmail.com
Thu Jan 26 18:54:56 CET 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: Command line option -f fails for some ascii files
AssignedTo: kst kde org
ReportedBy: tskisner.public gmail com
Version: 1.2.0_devel (using KDE 3.5.0, Kubuntu Package 4:3.5.0-0ubuntu0breezy1 breezy)
Compiler: Target: x86_64-linux-gnu
OS: Linux (x86_64) release 2.6.12-10-amd64-k8
When specifying the "-f" command line option, the ascii datasource scans for the number of columns *in the first row*, rather than starting at the specified frame. For example, if I have a text file like this:
and would like to plot the second column, I should be able to specify:
kst -f 1 -x 1 -y 2 <filename>
However, the number of available fields is determined by the first frame, not the frame specified by the "-f" option. This is a regression (it used to work fine). I think this feature is pretty important.
I'll try to dig in to this over the weekend, but maybe someone knows exactly where the problem is, due to recent changes in main.cpp, the datasource, etc?
More information about the Kst