10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have large text file consisting of five columns. Sample of the file is give below:
ed 2-4 12.0 commons that they depended on. मानवों नष्ट किया जिन पर वो आधारित थे।
ed 3-1 12.0 Almost E, but would be over. रचना करीब करीब ई तक जाती है, मगर तब तो नाटक ख़त्म हो... (2 Replies)
Discussion started by: my_Perl
2 Replies
2. Shell Programming and Scripting
I have a list of files defined in a single file , one on each line.(No.of files may wary each time)
eg. content of ETL_LOOKUP.dat
/data/project/randomname
/data/project/ramname
/data/project/raname
/data/project/radomname
/data/project/raame
/data/project/andomname
size of these... (5 Replies)
Discussion started by: h0x0r21
5 Replies
3. Shell Programming and Scripting
Hi,
Variable1 = MKT1,MKT2,MKT3,MKT4
Now i want to store each of these value seperated by comma to a array and access each of the values. Also find out number of such values seperated by comma.
Variable1 can have any number of values seperated by comma.
Thanks :) (3 Replies)
Discussion started by: arghadeep adity
3 Replies
4. Shell Programming and Scripting
I have some files containing the following data
# RESIDUE AA STRUCTURE BP1 BP2 ACC N-H-->O O-->H-N N-H-->O O-->H-N TCO KAPPA ALPHA PHI PSI X-CA Y-CA Z-CA
1 196 A M 0 0 230 0, 0.0 2,-0.2 0, 0.0 0, 0.0 0.000 360.0 360.0 360.0 76.4 21.7 -6.8 11.3
2 197 A D + 0 0 175 1,-0.1 2,-0.1 0, 0.0 0, 0.0... (10 Replies)
Discussion started by: edweena
10 Replies
5. UNIX for Dummies Questions & Answers
Hi Gurus,
I have 100 tab-delimited text files each with 21 columns. I want to extract only 2nd and 5th column from each text file. However, the values in both 2bd and 5th column contain duplicate values but the combination of these values in a row are not duplicate. I want to extract only those... (3 Replies)
Discussion started by: Unilearn
3 Replies
6. Programming
Am currently working on CVS projects .. I have generated the cvs log file which is in the RCS file format . .I want to extract file path ,total revision ,date ,author and message from that file . .I want a program in java which would extract the data from cvs log file. .Pls help me out..
My... (0 Replies)
Discussion started by: EVERSOFT
0 Replies
7. Shell Programming and Scripting
Hi All,
I have three separate text files which has only one line and i want to combine these lines in one text file which will have three lines.
cat file1.txt
abc
cat file2.txt
1265 6589 1367
cat file3.txt
0.98 0.36 0.5
So, I want to see these three lines in the... (9 Replies)
Discussion started by: senayasma
9 Replies
8. UNIX for Dummies Questions & Answers
Hi, been searching Google for like an hour and I doubt I got the right keywords so might as well ask here.
What I need:
Before:
Article1.txt 564
Article2.txt 799
Article3.txt 349
Article4.txt 452
* Separate files over 400 wordcount *
After:
Article1.txt 564... (3 Replies)
Discussion started by: Richard2000
3 Replies
9. Shell Programming and Scripting
Hi All,
I am new to this forumn as well to the UNIX, I have basic knowledge of UNIX which I studied some years ago, now I have to do some shell scripting to load data into Oracle database using sqlldr utility, whcih I am able to do. I have a requirement where I need to do following operation.
I... (10 Replies)
Discussion started by: shekharjchandra
10 Replies
10. Shell Programming and Scripting
Hello UNIX experts,
I have 124 text files in a directory. I want to extract the 45678th line of all the files sequentialy by file names. The extracted lines should be printed in the output file on seperate lines.
e.g. The input Files are one.txt, two.txt, three.txt, four.txt
The cat of four... (1 Reply)
Discussion started by: yogeshkumkar
1 Replies
QwtTextLabel(3) Qwt User's Guide QwtTextLabel(3)
NAME
QwtTextLabel -
A Widget which displays a QwtText.
SYNOPSIS
#include <qwt_text_label.h>
Inherited by QwtLegendItem.
Public Slots
void clear ()
void setText (const QString &, QwtText::TextFormat textFormat=QwtText::AutoText)
virtual void setText (const QwtText &)
Public Member Functions
virtual int heightForWidth (int) const
int indent () const
int margin () const
virtual QSize minimumSizeHint () const
QwtTextLabel (const QwtText &, QWidget *parent=NULL)
QwtTextLabel (QWidget *parent=NULL)
void setIndent (int)
void setMargin (int)
virtual QSize sizeHint () const
const QwtText & text () const
QRect textRect () const
virtual ~QwtTextLabel ()
Protected Member Functions
virtual void drawContents (QPainter *)
virtual void drawText (QPainter *, const QRect &)
virtual void paintEvent (QPaintEvent *e)
Detailed Description
A Widget which displays a QwtText.
Constructor & Destructor Documentation
QwtTextLabel::QwtTextLabel (QWidget *parent = NULL) [explicit] Constructs an empty label.
Parameters:
parent Parent widget
QwtTextLabel::QwtTextLabel (const QwtText &text, QWidget *parent = NULL) [explicit] Constructs a label that displays the text, text
Parameters:
parent Parent widget
text Text
QwtTextLabel::~QwtTextLabel () [virtual]
Destructor.
Member Function Documentation
void QwtTextLabel::clear () [slot]
Clear the text and all QwtText attributes.
void QwtTextLabel::drawContents (QPainter *painter) [protected, virtual]
Redraw the text and focus indicator.
void QwtTextLabel::drawText (QPainter *painter, const QRect &textRect) [protected, virtual]
Redraw the text.
Reimplemented in QwtLegendItem.
int QwtTextLabel::heightForWidth (intwidth) const [virtual] Returns the preferred height for this widget, given the width.
Parameters:
width Width
int QwtTextLabel::indent () const
Return label's text indent in pixels.
int QwtTextLabel::margin () const
Return label's text indent in pixels.
QSize QwtTextLabel::minimumSizeHint () const [virtual]
Return a minimum size hint.
void QwtTextLabel::paintEvent (QPaintEvent *event) [protected, virtual] Qt paint event
Parameters:
event Paint event
Reimplemented in QwtLegendItem.
void QwtTextLabel::setIndent (intindent) Set label's text indent in pixels
Parameters:
indent Indentation in pixels
void QwtTextLabel::setMargin (intmargin) Set label's margin in pixels
Parameters:
margin Margin in pixels
void QwtTextLabel::setText (const QwtText &text) [virtual, slot] Change the label's text
Parameters:
text New text
Reimplemented in QwtLegendItem.
void QwtTextLabel::setText (const QString &text, QwtText::TextFormattextFormat = QwtText::AutoText) [slot] Change the label's text, keeping all
other QwtText attributes
Parameters:
text New text
textFormat Format of text
See also:
QwtText
QSize QwtTextLabel::sizeHint () const [virtual]
Return label's margin in pixels.
Reimplemented in QwtLegendItem.
const QwtText & QwtTextLabel::text () const
Return the text.
QRect QwtTextLabel::textRect () const Calculate the rect for the text in widget coordinates
Returns:
Text rect
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 5.2.2 Mon Aug 1 2011 QwtTextLabel(3)