4 More Discussions You Might Find Interesting
1. Programming
Hello,
i'm trying to implement the times() function and i'm programming in C.
I'm using the "struct tms" structure which consists of the fields:
The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process.
The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies
2. AIX
Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies
3. Shell Programming and Scripting
Hi,
I am new in this forum and I am glad to be a part of it. I have a problem that has two parts:
1/ extract just the timestamp from a filename: for example, I have a file called 'sales20080226144525.txt' and I want to extract just the '20080226144525' part out of it.
2/ Now, take that... (5 Replies)
Discussion started by: ChicagoBlues
5 Replies
4. UNIX for Advanced & Expert Users
hi!,
here is an interesting problem .....
I ftp a file named " my first file.doc" from windows to my HP workstation.
Ftp is succesful. The file appears with the same name in my home directory.. But now how do I open this file??
while using Vi or More or other editor, they take only the... (5 Replies)
Discussion started by: jyotipg
5 Replies
LEARN ABOUT DEBIAN
news::scan::article
News::Scan::Article(3pm) User Contributed Perl Documentation News::Scan::Article(3pm)
NAME
News::Scan::Article - collect information about news articles
SYNOPSIS
use News::Scan::Article;
my $art = News::Scan::Article->new( ARG, [ OPTIONS, ] SCAN );
DESCRIPTION
This module provides a derived class of "Mail::Internet" whose objects are suitable for digesting Usenet news articles.
CONSTRUCTOR
new ( ARG, [ OPTIONS, ] SCAN-OBJ )
The "ARG" and "OPTIONS" parameters are identical to those required by "Mail::Internet", except "ARG" is required. See Mail::Internet.
The "SCAN" parameter should be a "News::Scan" object. See News::Scan.
If the article falls into the period of interest for "SCAN", the object is returned, else "undef".
METHODS
group ( [ SCAN-OBJ ] )
Sets or returns an object's group depending on whether "SCAN-OBJ" is present.
author
Returns the article's author represented as a "Mail::Address" object.
message_id
Returns the article's Message-ID.
subject
Returns the article's subject.
newsgroups
Returns the list of newsgroups this article was posted to.
size
Returns the size of this article in bytes.
header_size
Returns the size of this article's header in bytes.
header_lines
Returns the number of lines consumed in this article by headers.
body_size
Returns the size of this article's body in bytes.
body_lines
Returns the number of lines consumed in this article by the body.
orig_size
Returns the size of this article's original content in bytes. See "QuoteRE" in News::Scan.
orig_lines
Returns the number of lines consumed in this article by original content. Keep in mind that original content is a subset of the body.
sig_size
Returns the size of this article'ss signature in bytes.
sig_lines
Returns the number of lines consumed in this article by the signature.
SEE ALSO
News::Scan, Mail::Internet, Mail::Address
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-08-09 News::Scan::Article(3pm)