12-27-2010
This sounds like homework. Is it?
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
No detail:confused: (4 Replies)
Discussion started by: HOUSCOUS
4 Replies
2. HP-UX
Hi,
I looking to setup HP Unix to HP Unix replication as plan of business continuity. The setup can be active passive or active active. Anyone can give me some idea what solution able to perform that?
Thanks (3 Replies)
Discussion started by: ufo_999
3 Replies
3. UNIX for Advanced & Expert Users
i want to make match between two file:
the first about 1000 records
and the second about 67000 records
I used the nested loop for that the program is two slow
how can i fast this the program
ex:
more file1|while read i
do
more file2|while read x
do
if $parameter1=$parameter2
then ........ (12 Replies)
Discussion started by: Ehab
12 Replies
4. Shell Programming and Scripting
I am facing below issue with my script. below is one of the test out of 50 test from the tool which i m trying to automate. the test may show up or may not depending upon the previous results and also from the test some inputs may be asked or may not be asked depending upon previous results so you... (1 Reply)
Discussion started by: snehalb
1 Replies
5. Red Hat
hi,
we have eth1; in the beginning it was proposed to create from eth1, eth1.2500 and eth1.240. It did not worked cause vlan 1.2500 was not tagged in the switch.
so they decided to leave eth1 like a physical interface with eth1.2500 config (removel vlan tag) and create eth1.240
but it did... (0 Replies)
Discussion started by: pabloli150
0 Replies
6. Shell Programming and Scripting
I have the below requirement. below is the content of the input file and my expected result
Input file: a.txt
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>XXXX</Name>
<ID>1233</ID>
</Employee>
<?xml version="1.0" encoding="UTF-8"?>
<Employee>
<Name>YYYY</Name>
<ID>1345</ID>... (2 Replies)
Discussion started by: kmanivan82
2 Replies
7. Shell Programming and Scripting
In the game of “Unique”, multiple players privately choose an integer. They then reveal
their choice. The winner is the player who chose the smallest unique number. The
game is considered a draw if no unique integer was chosen.
You would write a program that simulate such a game according to the... (1 Reply)
Discussion started by: dantesma
1 Replies
curs_beep(3CURSES) Curses Library Functions curs_beep(3CURSES)
NAME
curs_beep, beep, flash - curses bell and screen flash routines
SYNOPSIS
cc [ flag ... ] file ... -lcurses [ library ... ]
#include <curses.h>
int beep(void);
int flash(void);
DESCRIPTION
The beep() and flash() routines are used to signal the terminal user. The routine beep() sounds the audible alarm on the terminal, if pos-
sible; if that is not possible, it flashes the screen (visible bell), if that is possible. The routine flash() flashes the screen, and if
that is not possible, sounds the audible signal. If neither signal is possible, nothing happens. Nearly all terminals have an audible sig-
nal (bell or beep), but only some can flash the screen.
RETURN VALUES
These routines always return OK.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
curses(3CURSES), attributes(5)
NOTES
The header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>.
SunOS 5.10 31 Dec 1996 curs_beep(3CURSES)