10-25-2015
If the new data to be inserted differ from the other entries, how do we know what to insert? Where do we get the data from?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an awk script like below
function abs(val) {
return val > 0 ? val : -val
}
# 1. Main input loop, executed for each line of input
BEGIN { RS = ORS = ">" }
{ if ( NF > 2 )
{
if ( abs( $1 - $(NF-2) ) < 40 ) { print }
}
}
The input file is something like... (2 Replies)
Discussion started by: kristinu
2 Replies
2. Shell Programming and Scripting
I have a file like this
%( PHASES
P
%)
%( SOURCES
(10,0.0)
(13,0.0)
(16,0.0)
(19,0.0)
(22,0.0)
(25,0.0)
(28,0.0)
(31,0.0)
(34,0.0)
(37,0.0)
(40,0.0) (1 Reply)
Discussion started by: kristinu
1 Replies
3. Shell Programming and Scripting
Hi,
I have an unknown listener of of one of my port. How would I know the location of that specific listener? (4 Replies)
Discussion started by: fif14344
4 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I'm installation a server
we have client -server architecture
I need to configure a port for client to communicate with the server
and server to communicate with the clients
Pls let me know how to configure in linux (2 Replies)
Discussion started by: gwrm
2 Replies
5. Shell Programming and Scripting
I have a file that looks liek this (see below). can somebody provide me with and awk or sed command that can take a piece of the file starting from the time to the blank line and put in into another file.
For example: How would I get the data from 10:56:11 to the blank line.
Two things:
... (5 Replies)
Discussion started by: BeefStu
5 Replies
6. Solaris
Hi all,
Am intermittently getting the following errors on one of my databases.
Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302:... (1 Reply)
Discussion started by: newbie_01
1 Replies
7. UNIX for Advanced & Expert Users
Hi - I am trying to grep all "ORA" errors in a log files.I have to grep all ORA errors except one error for example ORA-01653.How can exclude that error in "grep" command?
In following "grep" command I want to exclude "ORA-01653" error
grep -i ORA alert.log >>/tmp/ora_errors.txt
... (7 Replies)
Discussion started by: Mansoor8810
7 Replies
8. Shell Programming and Scripting
Anymore have any code to easily parse the listener.ora to update the ORACLE_HOME for a specific sid?
thanks. (1 Reply)
Discussion started by: nugent
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to write a script or command to remove a section from tnsnames.ora file
in the following example I would like to remove tns_alias2 section
$ cat tnsnames.ora
tns_alias1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1 )(PORT = 1521))
... (3 Replies)
Discussion started by: ynixon
3 Replies
10. Red Hat
Hi,
User claim that job is running slow from their end.
I DBA found in database the below errors in alert log file.
ORA-27603: Cell storage I/O error, I/O failed on disk o/192.168.10.3/RECO_DM01_CD_01_drm01 at offset 13335789568 for data length 1048576
ORA-27626: Exadata error: 2201 (IO... (2 Replies)
Discussion started by: Maddy123
2 Replies
LEARN ABOUT OPENSOLARIS
winsch
insch(3XCURSES) X/Open Curses Library Functions insch(3XCURSES)
NAME
insch, winsch, mvinsch, mvwinsch - insert a character
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int insch(chtype ch);
int mvinsch(int y, int x, chtype ch);
int mvwinsch(WINDOW *win, int y, int x, chtype ch);
int winsch(WINDOW *win, chtype ch);
PARAMETERS
ch Is the character to be inserted.
y Is the y (row) coordinate of the position of the character.
x Is the x (column) coordinate of the position of the character.
win Is a pointer to the window in which the character is to be inserted.
DESCRIPTION
These functions insert the character and rendition from ch into the current or specified window at the current or specified position.
These functions do not perform wrapping and do not advance the cursor position. These functions perform special-character processing, with
the exception that if a newline is inserted into the last line of a window and scrolling is not enabled, the behavior is unspecified.
RETURN VALUES
Upon successful completion, these functions return OK. Otherwise, they return ERR.
ERRORS
No errors are defined.
USAGE
These functions are only guaranteed to operate reliably on character sets in which each character fits into a single byte, whose attributes
can be expressed using only constants with the A_ prefix.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
ins_wch(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.11 5 Jun 2002 insch(3XCURSES)