12-12-2008
Pls don't double post - read the forums
rules
This sounds like a homework - read the rules.
Thread closed!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone. Well, I will get right to the point. I am new to Perl and trying to learn it as much as I can. I have been assigned the task of writing a perl script to extract information from firewall logs.
Like I said, I am new to Perl and I am having a tough time because I think what I am... (3 Replies)
Discussion started by: tarballed
3 Replies
2. Shell Programming and Scripting
Anyone have an example of a simple shell script that solicits a (Y)es or (N)o response from the user. If the response is 'Y' display a message on the screen that thanks the user for the positive response. If the response is 'N' display a message that thanks the user for the negative response. If... (15 Replies)
Discussion started by: wmosley2
15 Replies
3. UNIX for Dummies Questions & Answers
Hi, I need help writing a unix script to change the time in the server automatically when it reaches a specified time.
Only on the 14th of april, when the time becomes midnight (00:00:00), I need the server to change the time automatically to 23:30:00 and start working on as usual with a... (2 Replies)
Discussion started by: amodha
2 Replies
4. Shell Programming and Scripting
hi all
i am having a file(a fixed length file) of 28 bytes.The file has account number from 5th place to next 16 digits.
the file looks like below,
58331600563588885696ACXT5263
58331600563588885697ACXT5263
58331600563588885698ACXT5263
i want to write a script which will extract the... (8 Replies)
Discussion started by: dr46014
8 Replies
5. Shell Programming and Scripting
Hi,
I have written a script which converts a give hexdecimal value to binary value in perl. But now, the problem is I should read every bit of it ( if its 10101010, i should read the value in each position and if the value in that position is 1 i should print a string and should exit if its... (1 Reply)
Discussion started by: prakashreddy
1 Replies
6. Shell Programming and Scripting
hello all,
I have a script, used to search for the strings from the set of 5 similar pattern file from the log dir. So here it goes . The input parameter is a part of the file name. When during the script execution, the script should parse the input parameter to original file's with the same... (0 Replies)
Discussion started by: baraghun
0 Replies
7. Red Hat
Dear Madam/Sir
Who can help me with writing a script doing the following?
1- Read names of files (only files with special name format let say initially they have the same file name start like TT*)
2- Then create an empty files with the same names have been read in step one but with extension... (1 Reply)
Discussion started by: m.nageeb
1 Replies
8. Shell Programming and Scripting
i need some help in donig some actions on files in a library.
i want to get the n last files, and print to the screen their name, date, and how many times a specific string appears in each file..
how can i do this..?... (6 Replies)
Discussion started by: eee
6 Replies
9. Shell Programming and Scripting
:wall:
Can't seem to figure out how to fix this please help
its not starting over like I would like it to
When I enter in "Date" or "Time" nothing comes
Also if you can tell me the commands for the other 3 stuff that would be much appreciated
#!/bin/bash
clear
while ; do
echo... (8 Replies)
Discussion started by: nowruzr
8 Replies
10. How to Post in the The UNIX and Linux Forums
I am new for script writing. I have a file named as name.dat and contain numbers with different rows and columns. I want to sum numbers at one row with that of at another row; like row1 + row101 + row 201, with corresponding columns. Any one can help me to write a script for this operation.
... (1 Reply)
Discussion started by: kumnegert
1 Replies
LEARN ABOUT DEBIAN
tm::materialized::stream
TM::Materialized::Stream(3pm) User Contributed Perl Documentation TM::Materialized::Stream(3pm)
NAME
TM::Materialized::Stream - Topic Maps, abstract class for maps with stream based input/output drivers
SYNOPSIS
# this class will never be directly used for instantiation
# see the description in TM and individual low-level drivers (AsTMa, ...)
DESCRIPTION
This class is a subclass of TM, so it implements map objects. It is abstract, though, as it only defined how a stream-based driver package
should behave. It may thus be inherited by classes which implement external formats (TM::Materialized::AsTMa, TM::Materialized::XML, ....).
INTERFACE
Constructor
The constructor of implementations should expect a hash as parameter containing the field(s) from TM and one or more of the following:
url:
If given, then the instance will be read from this url whenever synced in.
file:
If given, then the data will be read/written from/to this file. This is just a convenience as it will be mapped to url.
inline:
If given, then the instance will be read directly from this text provided inline when synced.
If several fields ("file", "url", "inline") are specified, it is undefined which one will be taken.
Examples (using AsTMa):
# opening from an AsTMa= file
$atm = new TM::Materialized::AsTMa (file => 'here.atm');
# why need a file? files are evil, anyway
$atm = new TM::Materialized::AsTMa (inline => '# this is AsTMa');
SEE ALSO
TM
AUTHOR INFORMATION
Copyright 200[2-6], Robert Barta <drrho@cpan.org>, All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://www.perl.com/perl/misc/Artistic.html
perl v5.10.1 2008-04-10 TM::Materialized::Stream(3pm)