Yeah, I think you should need to be more specific and detailed with your question. But if all you need to do is print a simple horizontal/vertical line then you can try the ff.:
how to use "tr" command to display horizontal line to vertical line
for vertical to horizontal, the command is tr '\n' '\t' <inputfile
but what is the command for horizontal to vertical
Thanks
Vasikaran (3 Replies)
Please help me to do Vertical an horizontal pivoing in unix in single run.
The input file is like this-
MRKT|PROD|PRD|FACT1|FACT2|FACT3|FACT4
M1|P1|PR1|F11|F12|F13|F14
M1|P1|PR2|F21|F22|F23|F24
M1|P1|PR3|F31|F32|F33|F34
M2|P2|PR1|F41|F42|F43|F44
M2|P2|PR2|F51|F53|F54|F55... (4 Replies)
Hi,
I have a file like below
robert
PREF: 3
AVAIL:
henry
PREF: 234
AVAIL:
john
PREF: 145,178
AVAIL: 123
matt
PREF: 564,932
AVAIL:
ten
PREF: 389
AVAIL: kill (2 Replies)
Hi,
Silly question, if I have an excel file that looks something like this:
................. Subject 1 Subject 2 Subject 3 Subject 4
Fever..............13...........9.............23..........14
Headache.........2............12...........18..........23... (3 Replies)
dear all,
i'm new to unix and i try to figure out the best case for making list of vertical text to become horizontal and skip the line 1 and 2.
example text :
Data DATE XXXXX
MAX
47
53
49
51
48
48
7
46
51
8
25 (6 Replies)
How to move a vertical line to Horizontal line.....Can i use a tr command?
code is:
StudentID
Java
.Net
C#
I want to move this line like this:
StudentID Java .Net C#
Please use
code tags! (3 Replies)
Need perl or shell script to sort vertical lines to horizontal line in csv format
My file like below
-------------------------
================================================================================
PATH PINKY1000#I1-1-ZENTA1000-2#I7-1-ASON-SBR-UP-943113845 ... (4 Replies)
Hi Expert,
i have log in attached (log.txt)
i want the log result become horizontal line :
recordOpeningTime,servedMSISDN,ratingGroup,datavolumeFBCUplink,datavolumeFBCDownlink
1502260153422B0800,196738930571,3,7946,2219
1502260153422B0800,196738930571,3,233,174... (4 Replies)
Discussion started by: justbow
4 Replies
LEARN ABOUT OPENSOLARIS
mvwhline
hline(3XCURSES) X/Open Curses Library Functions hline(3XCURSES)NAME
hline, mvhline, mvvline, mvwhline, mvwvline, vline, whline, wvline - use single-byte characters (and renditions) to draw lines
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 hline(chtype ch, int n);
int mvhline(int y, int x, chtype ch, int n);
int mvvline(int y, int x, chtype ch, int n);
int mvwhline(WINDOW *win, int y, int x, chtype ch, int n);
int mvwvline(WINDOW *win, int y, int x, chtype ch, int n);
int vline(chtype ch, int n);
int whline(WINDOW *win, chtype ch, int n);
int wvline(WINDOW *win, chtype ch, int n);
DESCRIPTION
The hline(), vline(), whline(), wvline() functions draw a horizontal or vertical line, in either the window stdscr or win starting at the
current cursor position. The line is drawn using the character ch and is a maximum of n positions long, or as many as will fit into the
window. If ch is 0 (zero), the default horizontal or vertical character is used.
The mvhline(), mvvline(), mvwhline(), mvwvline() functions are similar to the previous group of functions but the line begins at cursor
position specified by x and y.
The functions with names ending with hline() draw horizontal lines proceeding towards the last column of the same line. The functions with
names ending with vline() draw vertical lines proceeding towards the last column of the same line.
These functions do not change the position of the cursor.
PARAMETERS
ch Is the character used to draw the line.
n Is the maximum number of characters in the line.
y Is the y (row) coordinate for the start of the line.
x Is the x (column) coordinate for the start of the line.
win Is a pointer to a window.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO border(3XCURSES), border_set(3XCURSES), hline_set(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)SunOS 5.11 5 Jun 2002 hline(3XCURSES)