10-21-2004
SunOS buffalo 5.8 Generic_117350-11 sun4u sparc SUNW,Ultra-80
/bin/ksh
I'm writing it in .sh
I cannot give samples of the file. But let me try to explain it roughly. If you receive your phone bill invoice/statement in the post it could be one - ten pages long showing the invoice total for example, what calls you made etc. This invoice file contains statements in free form (like in notepad) in no specific format and gets printed from there. Each invoice has a certain number of pages, so somewhere in the file it will say Page: 1 or 2 or whatever depending on the Account Number:. The other file is a comma delmited file giving details of each customer, like name, address and whether the invoice gets posted or emailed.
I need to pick up the account number from this txt file, pick up whether it gets posted or emailed and then in the invoice file count the number of pages that gets printed and posted and emailed per customer.
I know this is all confusing but basically I need to get information from a file where the data is not in a specific column or line. There is currently no manual process in place.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
Hi,
we are writing this fields dynamically retrieved from database and writing
into the file.
$bmpRec = $bmpRec.'|'.$cust_id; # sp4
$bmpRec = $bmpRec.'|'.$serv_id; # sp5
$bmpRec = $bmpRec.'|'.$site_id; # sp6
$bmpRec = $bmpRec.'|'.$loc_id; # sp7
... (4 Replies)
Discussion started by: Maruthi Kunnuru
4 Replies
3. Shell Programming and Scripting
Hi All,
Greetings!!
I am trying to write a script that will get me the syslog.log file output of last week...
That is ...my cron will run on Monday and will get me the syslog output of previous week , last monday-last sunday.
I tried using date formatting and tail..but did not succeed.... (4 Replies)
Discussion started by: premamadhuri
4 Replies
4. UNIX for Advanced & Expert Users
Hi Friends,
1. Bash Shell Scrpt to take backup at evening
2. I need a bash shell script for killing all processes. (5 Replies)
Discussion started by: vinayraj
5 Replies
5. Shell Programming and Scripting
I 'm new to unix shell scripting can some one guide me to any e-book or link from where i can learn unix shell scripting .. i want to learn create interactive scripts for my day to day solaris work. Any help would be appreciated (1 Reply)
Discussion started by: fugitive
1 Replies
6. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
7. UNIX for Dummies Questions & Answers
I'm sorry if this doesn't go here, but I'm in depserate need of help with my last unix homework.
Anyways, I'm taking summer classes, and one of them is UNIX. I've understood everything thus far, but I'm having a killer time with how my instructor has worded the problems for shell scripting. I... (3 Replies)
Discussion started by: dw15
3 Replies
8. Shell Programming and Scripting
I am new to Unix..
Can someone please help me to understand the concept of Login shell and non login shell ?
what exactly the difference between them :confused: (1 Reply)
Discussion started by: lokita jain
1 Replies
9. Programming
Hi All,
need help to complete the automation but stuck at a perticular situation
below is the code
<code>
fixed_function_name
{
code....
code....
variable_map=
{
a="/a"
b="/b"
c="/c"
so on...
} (7 Replies)
Discussion started by: yadavricky
7 Replies
10. UNIX for Beginners Questions & Answers
Describe in short the word completion feature of the tcsh
Completion works anywhere in the command line, not at just the end, for both commands and filenames. Type part of a word and hit the Tab key, and the shell replaces the incomplete word with the complete one in the input buffer. The... (1 Reply)
Discussion started by: Elena Lauren
1 Replies
LEARN ABOUT DEBIAN
www::cnic::response::listoutstandingdomains
WWW::CNic::Response::ListOutstandingDomains(3pm) User Contributed Perl Documentation WWW::CNic::Response::ListOutstandingDomains(3pm)
NAME
WWW::CNic::Response::ListOutstandingDomains - a WWW::CNic response object for listing outstanding domains.
SYNOPSIS
use WWW::CNic;
my $query = WWW::CNic->new( OPTIONS );
$query->set( PARAMETERS );
my $response = $query->execute();
DESCRIPTION
Response module for listing all outstanding domains via the CentralNic Toolkit (http://toolkit.centralnic.com/). This module inherits all
its methods from the base class, WWW::CNic::Response.
METHODS
my @domains = $response->domains;
This method returns an array of hashrefs detailing currently outstanding domains. The keys of the hashref are:
domain
expiry
type
years
proforma or invoice
date
currency
amount
batch
COPYRIGHT
This module is (c) 2011 CentralNic Ltd. All rights reserved. This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
SEE ALSO
o http://toolkit.centralnic.com/
o WWW::CNic::Response
o WWW::CNic
perl v5.12.3 2011-05-13 WWW::CNic::Response::ListOutstandingDomains(3pm)