05-26-2017
i only mentioned C because the previous poster mentioned that tcsh was used a lot by c programmers. i'm no expert in these matters.
as to when it was written, it started in the mid nineties, and development is ongoing.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ,
i want to read a text file line by line , is there any unix command or utility for this ? please tell me how to use it also ? (2 Replies)
Discussion started by: dharmesht
2 Replies
2. UNIX for Dummies Questions & Answers
I need to read the last file for a particular day, such as, "Jun 13" because the CSV file is cumulative for the entire day, so I don't want all the previous files, I just want the last file, for that day.
I ran an 'ls -al | grep "June 13" > myLs.txt' (simplified) to list all files from that day.... (2 Replies)
Discussion started by: yongho
2 Replies
3. Shell Programming and Scripting
i'm a beginner in shell and i have a txt file that is updating every second or msec so i need a program to read the last line of this txt file
is this possible to do? (5 Replies)
Discussion started by: _-_shadow_-_
5 Replies
4. UNIX for Dummies Questions & Answers
Hello. I have the following issue: my txt file has the following format:
train/dr4/fklc0/sx175.txt
0 80282 Severe myopia contributed to Ron's inferiority complex.
train/dr4/fklc0/sx355.txt
0 42906 Dolphins are intelligent marine mammals. train/dr4/fklc0/sa2.txt
awk 'NR%2==0' test1.txt >... (4 Replies)
Discussion started by: li_bi
4 Replies
5. Shell Programming and Scripting
Hi. I'm trying to write a script that reads a line on a file and runs a different command for a different line output.
For example, if it finds the word "Kuku" on the line it sends mail to Kuku@kuku.com. Otherwise, it sends mail to Lulu@lulu.com.
TIA. (2 Replies)
Discussion started by: Doojek9
2 Replies
6. Shell Programming and Scripting
Okay, so I have a file containing line after line of three digit numbers. I need a script that does an action based on the last two numbers in this list.
So.... To get the last two numbers, I can have the script do
tail -2 filename.txt
But where I run into trouble is as follows. If... (6 Replies)
Discussion started by: UCCCC
6 Replies
7. Shell Programming and Scripting
Well here is my question.
Let's say I have this Script:
find /var/mobile/ maxdepth -2 name "$x" >> /"$x".txt
The thing is I want to repeat this script and pull out a variable from a text file like this (each line = new variable $x and another run of the whole command)
Thanks for... (27 Replies)
Discussion started by: pasc
27 Replies
8. UNIX for Dummies Questions & Answers
Hi,
how do I read in a file which includes a list of workstations and then run a command for each workstation ?
I am unclear which command to use to read in , or is this not possible ?
Thanks, (3 Replies)
Discussion started by: manni2
3 Replies
9. Shell Programming and Scripting
Hi
I have jobs (some 1000) defined in a file and I want to read those jobs and run a a command.
For example:
jobs.txt
abc
efg
I want to read the entire file and run the following command
Delete -JOB "abc"
Deleteing abc...
Delete -JOB "efg"
Delete efg...
Can somebody help me... (4 Replies)
Discussion started by: karan8810
4 Replies
10. UNIX for Dummies Questions & Answers
Hi All
Is there a way to export every line into new txt file where by the title of each txt output are same as the line ?
I have this txt files containing names:
Kandra Vanhooser
Rhona Menefee
Reynaldo Hutt
Houston Rafferty
Charmaine Lord
Albertine Poucher
Juana Maes
Mitch Lobel... (2 Replies)
Discussion started by: Nexeu
2 Replies
LEARN ABOUT DEBIAN
news::scan::poster
News::Scan::Poster(3pm) User Contributed Perl Documentation News::Scan::Poster(3pm)
NAME
News::Scan::Poster - keep track of posters to a newsgroup
SYNOPSIS
use News::Scan::Poster;
my $poster = News::Scan::Poster->new($news_scan_article_obj);
DESCRIPTION
This module provides a class whose objects can be used to keep track of cumulative statistics for posters to a Usenet newsgroup such as
header volume or signature lines.
CONSTRUCTOR
new ( ARTICLE )
"ARTICLE" should be a "News::Scan::Article" object or inherit from the "News::Scan::Article" class.
"new" performs some initialization and returns a "News::Scan::Poster" object.
METHODS
address ( [ ADDRESS ] )
Returns the address of this poster represented as a "Mail::Internet" object.
If present, "ADDRESS" tells the object that the "Mail::Internet" object in "ADDRESS" is its address. idea.
attrib ( [ ATTRIBUTION ] )
Returns some nice attribution for this poster.
If present, "ATTRIBUTION" tells the object how it shall identify itself when asked.
message_ids ( [ MESSAGE-ID ] )
Returns a list of Message-IDs attributed to this poster.
If present, "MESSAGE-ID" is added to this list of this poster's articles.
volume
Returns the volume in bytes of the traffic generated by this poster.
articles
Returns the number of articles attributed to this poster.
posted_to
Returns a hash whose keys are newsgroup names and whose values are the number of times this poster has crossposted to the group of
interest and the corresponding newsgroup.
crossposts
Returns the total number of crossposts this poster has sent through the group of interest.
header_volume
Returns the volume in bytes generated by this poster's headers.
header_lines
Returns the number of header lines generated by this poster.
body_volume
Returns the volume in bytes generated by this poster's message bodies.
body_lines
Returns the number of body lines generated by this poster.
orig_volume
Returns the volume in bytes of original content generated by this poster.
orig_lines
Returns the number of original lines generated by this poster.
sig_volume
Returns the volume in bytes generated by this poster's signatures.
sig_lines
Returns the number of signature lines generated by this poster.
SEE ALSO
News::Scan, Mail::Address, 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::Poster(3pm)