Sponsored Content
Full Discussion: Telephone book script
Homework and Emergencies Homework & Coursework Questions Telephone book script Post 302797045 by hanson44 on Sunday 21st of April 2013 08:30:38 PM
Old 04-21-2013
I tried your master script. It seems to work fine, seems to accomplish what your teacher wants. I did notice (minor nit-picky) that the "echo -e" prints the -e instead of using it as a command option. I won't explain why it does that, according to the forum rules.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

telephone working in unix

sir, i came to know that telephone exchanges use unix for the working of telephones,that is when we take our hand set in telephone we can note a dial sound,for this telephone exchanges use unix. we are going to do project using unix,i want to know wheater we can able to connect... (1 Reply)
Discussion started by: radheesh
1 Replies

2. IP Networking

all about telephone in unix

hai to all, that i came to know all telephone exchanges use unix.i want to know wheather we can connect telephones uaeing unix,if it possible means how&and also i need about more information about "telephones in unix" ... (1 Reply)
Discussion started by: radheesh
1 Replies

3. UNIX for Dummies Questions & Answers

Got connected with Modem but cannot dial Telephone no. to connect to host

Hello There, I configure my Modem as follow. Step1. # admintool & Then from Browse --> Serial Port i select tta port and Edit --> Modify From that i select Template : Modem:Dial Out Baud Rate: 9600 Ok Step 2 # tip /dev/cua/a connected (1 Reply)
Discussion started by: abidmalik
1 Replies

4. Shell Programming and Scripting

Sobell Book script

hey peeps has anyone done the "Enhance the spell_check script (Sobell page 646) to accept an optional third argument" script. I am fully having trouble getting it to work. if you have done the script and dont mind sharing with others, please help me out. thanks mila :confused: (0 Replies)
Discussion started by: 30177005
0 Replies

5. Shell Programming and Scripting

Script for converting a pdf to book format

Hello, excuse my English... I'm trying to do a nautilus-script to transform a normal A4 pdf to another pdf with book format, ready to be printed (double sided). I mean, the script put pages in order and also put 2 pages per horizontal A4 page (p.e.: a pdf with 8 pages would look like: 8-1, 2-7,... (2 Replies)
Discussion started by: dokan
2 Replies

6. Shell Programming and Scripting

Typo in sample script from book?

Hello, I'm new to this forum, and I apologize in advance if I did something wrong here. I am pretty stumped here as I am still getting the error message, "./comc1.sh: test: argument expected." after executing the script itself. Here's the script file I modified: I tried executing line 4... (1 Reply)
Discussion started by: ConcealedKnight
1 Replies

7. Shell Programming and Scripting

Telephone Format and Check

How can I script to check telephone number entered by user in a uniz script: print -n "Enter telephone number to check ? " ; read telno How do I script to : 1) Check if entered without dashes or with dashes 2) If without dashes how can I check: if telno is only 10... (2 Replies)
Discussion started by: mrn6430
2 Replies
autopush(1M)															      autopush(1M)

NAME
autopush - manage system database of automatically pushed STREAMS modules SYNOPSIS
file major minor major minor DESCRIPTION
manages the system database that is used for automatic configuration of STREAMS devices. The command is used in three different ways as dictated by the and command-line options described below. Options recognizes the following command-line options and arguments: Using the configuration information contained in file, load the system database with the names of the STREAMS devices and a list of modules to use for each device. When a device is subsequently opened, the HP-UX STREAMS subsystem pushes the modules onto the stream for the device. If appears as a file argument, uses the standard input. file must contain one or more lines of at least four fields separated by a space as shown below: major minor lastminor module1 module2 ... moduleN The first field major can be either an integer or a device name. The device name is the name for the device used in the master file. The next two fields are integers. If minor is set to -1, then all minor devices for the specified major are configured and lastminor is ignored. If lastminor is 0, then only a single minor device is configured. To configure a range of minor devices for a major device, minor must be less then lastminor. The remaining field(s) list one or more module names. Each module is pushed in the order specified. A maximum of eight modules can be pushed. Any text after a # character in file is treated as a comment for that line only. This option is also used to restore device configuration information previously removed by However, when used in such a manner, the entire database is restored, not just the information that was previously removed. Display current configuration information from the system database for the STREAMS device specified by the major device number (or device name for the device from the master file) and minor number. If a range of minors has been previously configured then returns the configuration information for the first minor in the range, in addition to other information. Remove configuration information from the system database for the STREAMS device specified by the major device number (or device name for the device from the master file and minor number. Removal is performed on the database only, not on the original configuration file. Therefore, the original configuration can be restored by using the file option. To permanently exclude a STREAMS device from the database, its information must be removed from the configuration file. If minor matches the first minor of a previously configured range then removes the configuration information for the entire configured range. EXAMPLES
If the file contains: Then will cause and to be pushed whenever major device is opened, and and to be pushed for the first six opens of device This next example lists information about the stream for major device and its minor device FILES
NLS catalog for SEE ALSO
sad(7), streamio(7). autopush(1M)
All times are GMT -4. The time now is 11:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy