09-22-2009
to create a phone book using shell script and unix commands
can you help me to create a phone book with add, delete, modify with first name, last name, middle name, phone no(multiple ph no), address, email address, notes or comments to store about the contact and groups that hold for the contact..
i am new to this linux environment. please guide me.
sorry for the last thread posting.. i hope in future it will not be repeated..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, first day on the job.
I'm attempting to learn Unix from the 'Unix® for Mac®' book. On page 11 there are instructions to enter certain commands but for me they don't work.
user% which w is supposed to result in: -/usr/bin/w -I get a "command not found"
darwin:~] user%... (2 Replies)
Discussion started by: Frank Hunter
2 Replies
2. Shell Programming and Scripting
Hi all,
How to create Flat Files using Unix Shell Script. The Script is supposed to be sheduled to run at a particular time?
Thanks in advance
Appu (4 Replies)
Discussion started by: Aparna_k82
4 Replies
3. Shell Programming and Scripting
Hi ,
I am having one situation in which I need to run some simple unix commands after doing "chroot" command in a shell script. Which in turn creates a new shell.
So scenario is that
- I need to have one shell script which is ran as a part of crontab
- in this shell script I need to do a... (2 Replies)
Discussion started by: hkapil
2 Replies
4. Shell Programming and Scripting
could you please find a solution for this
script (called phone) that creates a simple telephone list (create an empty file called “phonlist” in home directory) . Each line in this file consist of two fields name and the phone number, the script should do the following:
When user types the... (1 Reply)
Discussion started by: anything
1 Replies
5. Programming
Hi All,
I am supposed to present the documentation for the PLSQL code (PACKAGES, PROCEDURE, FUNCTIONS) of my application. There are sufficient comments in my code. Has anyone written any Shell Script Utility which can parse the PLSQL code and generate some kind of document ( preferrably HTML not... (1 Reply)
Discussion started by: gauravsachan
1 Replies
6. Shell Programming and Scripting
When my script deals with large input files like 22Gb or 18 GB the basic commands like sort or join fails when run from inside the shell scripts. Can there be any specific reason for this?
For e.g.
sort -u -t "," -k1,1 a.csv > a.csv.uniq"
sort -u -t "," -k1,1 b.csv > b.csv.uniq"
The... (3 Replies)
Discussion started by: esha
3 Replies
7. Shell Programming and Scripting
Hi guys...
can any one help me out with creating a phone book:
CP5290 Assignment: Phonebook
Due 4 pm Friday 25th September 2009 Weight: 15%
You are to implement a Phonebook using Shell scripting and UNIX command line utilities and
commands. Some documentation will also be... (1 Reply)
Discussion started by: monster11209
1 Replies
8. Shell Programming and Scripting
Hi Folks,
I have a text file which may or may not have any data.
I would like to email the file, via a Korn shell script, if the file is not empty.
I am fiddling around with the wc -l command, but no luck so far. The pseudo code is as follows
count=`wc -l test.txt`
if
cat test.txt... (4 Replies)
Discussion started by: rogers42
4 Replies
9. Shell Programming and Scripting
Hi,
I wrote a simple script, which will call other scripts or run commands on a UNIX server. my script has multiple steps/commands with some delay in between.
I usually get some email notifications after the successful execution of each step.
**My intention is to get email alerts when it is... (5 Replies)
Discussion started by: System Admin 77
5 Replies
10. Shell Programming and Scripting
Hi Good morning all,
I want to create script file with multiple commands.
For ex:
pmrep connect is one of the command to connect to repository.
pmrep objectexport is another command to export objects to a file.
These commands should run sequentially.But when i try to execute this, the first... (4 Replies)
Discussion started by: SekhaReddy
4 Replies
LEARN ABOUT DEBIAN
net::dri::data::contact::no
Net::DRI::Data::Contact::NO(3pm) User Contributed Perl Documentation Net::DRI::Data::Contact::NO(3pm)
NAME
Net::DRI::Data::Contact::NO - Handle .NO contact data for Net::DRI
DESCRIPTION
This subclass of Net::DRI::Data::Contact adds accessors and validation for .NO specific data.
METHODS
The following accessors/mutators can be called in chain, as they all return the object itself.
type()
Mandatory, must be set for all contacts. Specify what type of contact to register. Value must be one of: 'person', 'organization' or
'role'.
Example: $co->type('organization')
identity()
Currently valid for type='organization' only. Must then be set to specify the organization number in Bronnoysund, the Norwegian Business
Register.
Example: $co->identity({type=>'organizationNumber', value=>'987654321'});
mobilephone()
Optional. Set a mobile phone number for the contact.
Example: $co->mobilephone('+47.123456780')
organization()
Optional. Set one or more organization-elements which specify organizations which the contact belongs to. The value should be the local
contact id of an organization object.
This element can only be used for role and person contacts.
$co->organization('EFA12O');
rolecontact()
Optional. Set one or more roleContact-elements which specify persons which belongs to a role contact. The value should be the local contact
id of a person object.
This element can only be used for role contacts.
Example: $co->rolecontact(['JD12P', 'JD13P']);
xemail()
Optional. Set one or more email-elements which specify email addresses in addition to the mandatory email element in the standard contact
create command.
Example: $co->xemail(['xtra1@example.no', 'xtra2@example.no']);
xdisclose()
Optional. A disclose-element which must contain the child element mobilePhone. This element notes the clients preference to allow or
restrict disclosure of the mobile phone number. If not present, the servers stated data collection policy is used.
Example: $co->xdisclose({mobilePhone=>0});
facets() Facets are some special control attributes that can be used to implement a super registrar (admin registrar).
A super registrar can suppress certain checks and perform actions on behalf of a normal registrar.
Facets are key/values pairs. Net::DRI will not try to enforce what key/value pairs that are possible, but let the registry decide their
validity.
Example: $co->facets( { 'skip-manual-review' => 1, 'ignores-exceptions' => 'reg123'} );
SUPPORT
For now, support questions should be sent to:
<netdri@dotandco.com>
Please also see the SUPPORT file in the distribution.
SEE ALSO
http://www.dotandco.com/services/software/Net-DRI/
AUTHOR
Trond Haugen, <info@norid.no>.
COPYRIGHT
Copyright (c) 2008-2010 UNINETT Norid AS, <http://www.norid.no>, Trond Haugen <info@norid.no>. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.
perl v5.10.1 2010-03-25 Net::DRI::Data::Contact::NO(3pm)