Sponsored Content
Top Forums Shell Programming and Scripting extract a particular start and end pattern from a line Post 302164931 by manish205 on Wednesday 6th of February 2008 08:22:36 AM
Old 02-06-2008
Data

it is showing only IPTel\platform
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed: Find start of pattern and extract text to end of line, including the pattern

This is my first post, please be nice. I have tried to google and read different tutorials. The task at hand is: Input file input.txt (example) abc123defhij-E-1234jslo 456ujs-W-abXjklp From this file the task is to grep the -E- and -W- strings that are unique and write a new file... (5 Replies)
Discussion started by: TestTomas
5 Replies

2. UNIX for Dummies Questions & Answers

Extract a specific number from an XML file based on the start and end tags

Hello People, I have the following contents in an XML file ........... ........... .......... ........... <Details = "Sample Details"> <Name>Bob</Name> <Age>34</Age> <Address>CA</Address> <ContactNumber>1234</ContactNumber> </Details> ........... ............. .............. (4 Replies)
Discussion started by: sushant172
4 Replies

3. UNIX for Dummies Questions & Answers

Lynx Grep Pattern Match 2 conditions Print from Start to End

I am working on a scraping project and I am stuck at this tiny grep pattern match. Sample text : FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. FPA List. ABC Personal Planning Catherine K. Wat Cath Wat Catherine K. Wat Catherine K. Wat IFRAME:... (8 Replies)
Discussion started by: kkiran
8 Replies

4. Shell Programming and Scripting

Extract week start,end date from given date in PERL

Hi All, what i want to do in perl is i should give the date at run time .Suppose date given is 23/12/2011(mm/dd/yyyy) the perl script shold find week start date, week end date, previous week start date,end date,next week start date, end date. In this case week start date will be-:12/19/2011... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

5. Shell Programming and Scripting

Search for a pattern,extract value(s) from next line, extract lines having those extracted value(s)

I have hundreds of files to process. In each file I need to look for a pattern then extract value(s) from next line and then search for value(s) selected from point (2) in the same file at a specific position. HEADER ELECTRON TRANSPORT 18-MAR-98 1A7V TITLE CYTOCHROME... (7 Replies)
Discussion started by: AshwaniSharma09
7 Replies

6. UNIX for Dummies Questions & Answers

extract regions of file based on start and end position

Hi, I have a file1 of many long sequences, each preceded by a unique header line. file2 is 3-columns list: headers name, start position, end position. I'd like to extract the sequence region of file1 specified in file2. Based on a post elsewhere, I found the code: awk... (2 Replies)
Discussion started by: pathunkathunk
2 Replies

7. Shell Programming and Scripting

awk to count start and end keyword in a line

Hello fellow awkers and seders: need to figure out a way to ensure a software deployment has completed by checking its trace file in which I can store the deployment results as follows: echo $testvar ===== Summary - Deploy Result - Start ===== ===== Summary - Deploy Result - End =====... (1 Reply)
Discussion started by: ux4me
1 Replies

8. Shell Programming and Scripting

Grep start and end line of each segments in a file

Cat file1 -------- ---------- SCHEMA.TABLE1 insert------- update----- ------------- ---------- SCHEMA.TABLE2 insert------- update----- ----------- ------------ SCHEMA.TABLE3 insert------- update----- ------------ grep -n SCHEMA > header_file2.txt (2 Replies)
Discussion started by: Veera_V
2 Replies

9. Shell Programming and Scripting

How to extract start/end times from log file to CSV file?

Hi, I have a log file (log.txt) that which contains lines of date/time. I need to create a script to extract a CSV file (out.csv) that gets all the sequential times (with only 1 minute difference) together by stating the start time and end time of this period. Sample log file (log.txt) ... (7 Replies)
Discussion started by: Mr.Zizo
7 Replies

10. Shell Programming and Scripting

Printing string from last field of the nth line of file to start (or end) of each line (awk I think)

My file (the output of an experiment) starts off looking like this, _____________________________________________________________ Subjects incorporated to date: 001 Data file started on machine PKSHS260-05CP ********************************************************************** Subject 1,... (9 Replies)
Discussion started by: samonl
9 Replies
QListBoxText(3qt)														 QListBoxText(3qt)

NAME
QListBoxText - List box items that display text SYNOPSIS
#include <qlistbox.h> Inherits QListBoxItem. Public Members QListBoxText ( QListBox * listbox, const QString & text = QString::null ) QListBoxText ( const QString & text = QString::null ) QListBoxText ( QListBox * listbox, const QString & text, QListBoxItem * after ) ~QListBoxText () virtual int height ( const QListBox * lb ) const virtual int width ( const QListBox * lb ) const Protected Members virtual void paint ( QPainter * painter ) DESCRIPTION
The QListBoxText class provides list box items that display text. The text is drawn in the widget's current font. If you need several different fonts, you must implement your own subclass of QListBoxItem. See also QListBox, QListBoxItem, and Advanced Widgets. MEMBER FUNCTION DOCUMENTATION
QListBoxText::QListBoxText ( QListBox * listbox, const QString & text = QString::null ) Constructs a list box item in list box listbox showing the text text. QListBoxText::QListBoxText ( const QString & text = QString::null ) Constructs a list box item showing the text text. QListBoxText::QListBoxText ( QListBox * listbox, const QString & text, QListBoxItem * after ) Constructs a list box item in list box listbox showing the text text. The item is inserted after the item after, or at the beginning if after is 0. QListBoxText::~QListBoxText () Destroys the item. int QListBoxText::height ( const QListBox * lb ) const [virtual] Returns the height of a line of text in list box lb. See also paint() and width(). Reimplemented from QListBoxItem. void QListBoxText::paint ( QPainter * painter ) [virtual protected] Draws the text using painter. Reimplemented from QListBoxItem. int QListBoxText::width ( const QListBox * lb ) const [virtual] Returns the width of this line in list box lb. See also paint() and height(). Reimplemented from QListBoxItem. SEE ALSO
http://doc.trolltech.com/qlistboxtext.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qlistboxtext.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QListBoxText(3qt)
All times are GMT -4. The time now is 05:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy