08-03-2009
Thread closed, warning given to stay in old thread with same problem - Please continue where anchal_khare refers to, ty.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need help to parse a file where there are many records, all of which are consistently separated by lines containing “^=============” and "^ End of Report".
Example:
=============
1
2
3
4
End of record
=============
1
3
4
End of record
Etc....
I only need specific lines... (5 Replies)
Discussion started by: jouuu
5 Replies
2. UNIX for Dummies Questions & Answers
hi
My System is Sun Microsystems Inc. SunOS 5.10 Solaris
Partition Info is
/dev/vx/dsk/bootdg/var
27G 25G 1.2G 96% /var
/dev/vx/dsk/bootdg/oravol
110G 54G 56G 49% /export/home
I want to shift space 20G from /export/home to /var
What should be the command ?? (2 Replies)
Discussion started by: kaushik02018
2 Replies
3. Shell Programming and Scripting
I am using
echo "HELLO"
I want to specify a number shiftWt so that I move hello forward by shiftWt charcaters.
Is there a way to do this? (2 Replies)
Discussion started by: kristinu
2 Replies
4. Shell Programming and Scripting
Hi all,
i have data like this
joe : 1 :a
bob : 2 :b
sue : 3 :c
foo : 4 :d
at column 2 i want to insert TOP to the top column and at column 3 i want to insert BOTTOM to the bottom column. and the result will... (12 Replies)
Discussion started by: psychop13
12 Replies
5. Programming
I have the following functions which shifts the text by 4 and 8 characters. How can I pass an integer for the shift so that the text is shifted accordingly?
void prValue4_vd (
FILE* stream, // name of output stream
const char* value, // value associated with argument... (2 Replies)
Discussion started by: kristinu
2 Replies
6. Shell Programming and Scripting
Hello,
I have files with fixed length fields.
12345 12345 12345671234567 10 1234567
12345 12345 123456 1234567 10 1234567
I want to take 1st, 3rd, 4th and 6th string.
Usually 3rd and 4th string are coming as it is on the first row /1234567 and... (3 Replies)
Discussion started by: apenkov
3 Replies
7. Shell Programming and Scripting
The below code works great, kindly provided by @Don Cragun, the lines in bold print the current output. Since some of the fields printed can be blank some of the fields are shifted. I can not seem too add . to the blank fields like in the desired output. Basically, if there is nothing in the field... (10 Replies)
Discussion started by: cmccabe
10 Replies
8. Shell Programming and Scripting
The below code runs and creates an output file with three sections. The first 2 sections are ok, but the third section doesn't seem to put a . in all the fields that are blank. I don't know if this is what causes the last two fields in the current output to shift to a newline, but I can not seem... (3 Replies)
Discussion started by: cmccabe
3 Replies
9. Shell Programming and Scripting
I have a file where every line includes four expressions with a caret in the middle (plus some other "words" or fields, always separated by spaces). I would like to extract from this file, all those lines such that each of the four expressions containing a caret appears in at least four different... (9 Replies)
Discussion started by: uncleMonty
9 Replies
10. Shell Programming and Scripting
Hi Forum.
I have a unique problem that I'm hoping someone can assist me.
I'm generating a fixed width file and one of the output column (person_name at col. pos.#483 defined as string(36) sometimes contains french characters in the name and it causes the next column of data to shift to the... (10 Replies)
Discussion started by: pchang
10 Replies
LEARN ABOUT DEBIAN
news::scan::thread
News::Scan::Thread(3pm) User Contributed Perl Documentation News::Scan::Thread(3pm)
NAME
News::Scan::Thread - keep track of threads in a Usenet newsgroup
SYNOPSIS
use News::Scan::Thread;
my $thr = News::Scan::Thread->new($news_scan_article_obj);
DESCRIPTION
This module provides a class whose objects can be used to keep track of threads of discussion in a Usenet newsgroup.
CONSTRUCTOR
new ( ARTICLE )
"ARTICLE" should be a "News::Scan::Article" object or an object of some class derived from "News::Scan::Article".
"new" performs some initialization and returns a "News::Scan::Thread".
METHODS
subject
Returns this thread's subject.
volume
Returns the volume in bytes generated in this thread.
articles
Returns the number of posts to this thread.
header_volume
Returns the volume in bytes of the headers in this thread's articles.
header_lines
Returns the number of header lines in this thread's articles.
body_volume
Returns the volume in bytes of the message bodies of this thread's articles.
body_lines
Returns the number of lines in this thread's message bodies.
orig_volume
Returns the volume in bytes of the original content of this thread's articles.
orig_lines
Returns the number of original lines in this thread's articles.
sig_volume
Returns the volume in bytes of the signatures of this thread's articles.
sig_lines
Returns the number of signature lines in this thread's articles.
SEE ALSO
News::Scan, News::Scan::Article
AUTHOR
Greg Bacon <gbacon@cs.uah.edu>
COPYRIGHT
Copyright (c) 1997 Greg Bacon. All Rights Reserved. This library is free software. You may distribute and/or modify it under the same
terms as Perl itself.
perl v5.10.1 2000-04-13 News::Scan::Thread(3pm)