Your output does not correspond to the input.
The last two "E" values of each eight-pair are (249, and 19,) in the input.
But they are (un, and 284,) and (un, and 249,) in the output.
A file content have
1 1:-0.289433 2:0.833778 3:0.314471 4:-0.289433 5:-0.81876 6:-0.456693 7:-0.17511 8:-0.644555 9:-0.00666341 10:-1.13603
I will like to have that column into row with numbers to be printed (red color) only after colon
output shud be like that
-0.289433... (1 Reply)
hi,
I have a requirement where in I read the values from a file using awk. The resulting data should be converted into row format from column format.
For ex: My log file login.lst contains the following
SERVER1 DB1
SERVER2 DB2
SERVER3 DB3
SERVER4 DB4
I use awk to grep only the server... (6 Replies)
Hi Friends
I have the following input data in 2 columns.
SNo 1
I1 Value
I2 Value
I3 Value
SNo 2
I4 Value
I5 Value
I6 Value
I7 Value
SNo 3
I8 Value
I9 Value
...............
................
SNo N (1 Reply)
Hello,
I have an input file like the following:
11_3_4
2_1_35
3_15__
_16989
Where '_' is a space. The data is in a table. Is there a way for the program to prompt the user for x1,y1 and x2,y2, where x1,y1 is the desired number (for example x=6 y=4 is a value of 4) and move to a desired spot... (2 Replies)
Hi,
I have a file like this
50 1 2 1374438
50 1 2 1682957
50 5 2 1453574
50 10 2 1985890
100 1 2 737307
100 5 2 1660204
100 10 2 2148483
and I want to convert this by... (1 Reply)
Hi,
i need to convert
SG_ERP1
SG_ERP2
SG_ERP3
in to:
SG_ERP1 SG_ERP2 SG_ERP3
It's possibile? (16 Replies)
Discussion started by: elilmal
16 Replies
LEARN ABOUT ULTRIX
mvprintw
printw(3cur)printw(3cur)Name
printw, mvprintw, mvwprintw, wprintw - formatted write to a window
Syntax
#include <cursesX.h>
int printw(fmt [, arg] ...)
char *fmt;
int wprintw(win, fmt [, arg] ...)
WINDOW *win;
char *fmt;
int mvprintw(y, x, fmt [, arg] ...)
int y, x;
char *fmt;
int mvwprintw(win, y, x, fmt [, arg] ...)
WINDOW *win;
int y, x;
char *fmt;
Description
The routine adds a string to the default window starting at the current cursor position. This routine causes the string that would nor-
mally be output by to be output by
The routine adds a string to the specified window starting at the current cursor position. This routine causes the string that would nor-
mally be output by to be output by
The routine adds a string to the default window starting at the specified cursor position. This routine causes the string that would nor-
mally be output by to be output by
The routine adds a string to the specified window starting at the specified cursor position. This routine causes the string that would
normally be output by to be output by
All these routines are analogous to It is advisable to use the field width options of to avoid leaving unwanted characters on the screen
from earlier calls.
Return Values
The and functions return OK on success and ERR on error.
See Alsoaddstr(3cur), waddstr(3cur), printf(3s)printw(3cur)