02-21-2017
Quote:
Originally Posted by
prasson_ibm
Hi,
Thanks for your reply.
I have pipe delimited file and i want to convert pipe to Vertical Tab demilted.
What ascii character i need to give for vertical tab.
man ascii or look
here
Last edited by vgersh99; 02-21-2017 at 10:12 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a file whose data is like this::
osr_pe_assign|-120|wg000d@att.com|4|
osr_evt|-21|wg000d@att.com|4|
pe_avail|-21|wg000d@att.com|4|
osr_svt|-11|wg000d@att.com|4|
pe_mop|-13|wg000d@att.com|4|
instar_ready|-35|wg000d@att.com|4|
nsdnet_ready|-90|wg000d@att.com|4|... (6 Replies)
Discussion started by: priyanka3006
6 Replies
2. UNIX for Dummies Questions & Answers
I have a text file that made using text editor in Ubuntu. However the text file is not being recognized as space or tab delimited, the formatting seems to be messed up. How can I convert the text file into tab delimited format? (3 Replies)
Discussion started by: evelibertine
3 Replies
3. Shell Programming and Scripting
Hi All,
I have space delimited file similar to the one as shown below.. I need to convert it as a pipe delimited, the values inside the pipe delimited file should be as highlighted...
AA ATIU2345098809 009697 005374
BB ATIU2345097809 005445 006518
CC ATIU9685098809 003215 003571
DD... (7 Replies)
Discussion started by: nithins007
7 Replies
4. Shell Programming and Scripting
I have a file which was pipe delimited, I need to make it tab delimited. I tried with sed but no use
cat file | sed 's/|//t/g'
The above command substituted "/t" not tab in the place of pipe.
Sample file:
abc|123|2012-01-30|2012-04-28|xyz
have to convert to:
abc 123... (6 Replies)
Discussion started by: karumudi7
6 Replies
5. Shell Programming and Scripting
Hi all,
How can i convert comma delimited .csv file to tab separate using sed command or script.
Thanks,
Krupa (4 Replies)
Discussion started by: krupasindhu18
4 Replies
6. Shell Programming and Scripting
Hi all,
I have a 3 columns input file like this:
CPLX9PC-4943 CPLX9PC-4943 1
CPLX9PC-4943 CpxID123 0
CPLX9PC-4943 CpxID126 0
CPLX9PC-4943 CPLX9PC-5763 0.5
CPLX9PC-4943 CpxID13 0
CPLX9PC-4943 CPLX9PC-6163 0
CPLX9PC-4943 CPLX9PC-6164 0.04... (7 Replies)
Discussion started by: AshwaniSharma09
7 Replies
7. Shell Programming and Scripting
Hello,
I have a text file with space and tab (mixed) delimited file and need to convert into CSV.
# cat test.txt
/dev/rmt/tsmmt32 HP Ultrium 6-SCSI J3LZ 50:03:08:c0:02:72:c0:b5 F00272C0B5 0/0/6/1/1.145.17.255.0.0.0 /dev/rmt/c102t0d0BEST
/dev/rmt/tsmmt37 ... (6 Replies)
Discussion started by: prvnrk
6 Replies
8. UNIX for Dummies Questions & Answers
Hi, I have a rquirement in unix as below .
I have a text file with me seperated by | symbol and i need to generate a excel file through unix commands/script so that each value will go to each column.
ex:
Input Text file:
1|A|apple
2|B|bottle
excel file to be generated as output as... (9 Replies)
Discussion started by: raja kakitapall
9 Replies
9. UNIX for Beginners Questions & Answers
Hi
i have a problem in my job
i try to convert an excel file (xls extention) to text file (tab delimited), but no result with this comand
cat xxx.xls > xxx.txt
Do you have eny idea?
PS: sorry for my english
Thanks!! (4 Replies)
Discussion started by: frisso
4 Replies
10. Shell Programming and Scripting
I have file in linux with comma delimited and string fields in double quotations ", I need to convert them to pipe delimiter please share your inputs.
Example:
Input:
"2017-09-30","ACBD,TVF","01234",NULL,18,NULL,"686091802","BANK OF ABCD, LIMITED, THE",790456
Output:
... (4 Replies)
Discussion started by: shieksir
4 Replies
LEARN ABOUT DEBIAN
prima::header
Prima::Header(3) User Contributed Perl Documentation Prima::Header(3)
NAME
Prima::Header - a multi-tabbed header widget.
DESCRIPTION
The widget class provides functionality of several button-like caption tabs, that can be moved and resized by the user. The class was
implemented with a view to serve as a table header for list and grid widgets.
API
Events
Click INDEX
Called when the user clicks on the tab, positioned at INDEX.
DrawItem CANVAS, INDEX, X1, Y1, X2, Y2, TEXT_BASELINE
A callback used to draw the tabs. CANVAS is the output object; INDEX is the index of a tab. X1,Y2,X2,Y2 are the coordinates of the
boundaries of the tab rectangle; TEXT_BASELINE is a pre-calculated vertical position for eventual centered text output.
MeasureItem INDEX, RESULT
Stores in scalar, referenced by RESULT, the width or height ( depending on vertical property value ) of the tab in pixels.
MoveItem OLD_INDEX, NEW_INDEX
Called when the user moves a tab from its old location, specified by OLD_INDEX, to the NEW_INDEX position. By the time of call, all
internal structures are updated.
SizeItem INDEX, OLD_EXTENT, NEW_EXTENT
Called when the user resizes a tab in INDEX position. OLD_EXTENT and NEW_EXTENT are either width or height of the tab, depending on
vertical property value.
SizeItems
Called when more than one tab has changed its extent. This might happen as a result of user action, as well as an effect of set-calling
to some properties.
Properties
clickable BOOLEAN
Selects if the user is allowed to click the tabs.
Default value: 1
dragable BOOLEAN
Selects if the user is allowed to move of the tabs.
Default value: 1
items ARRAY
Array of scalars, representing the internal data of the tabs. By default the scalars are treated as text strings.
minTabWidth INTEGER
A minimal extent in pixels a tab must occupy.
Default value: 2
offset INTEGER
An offset on the major axis ( depends on vertical property value ) that the widget is drawn with. Used for the conjunction with list
widgets ( see Prima::DetailedList ), when the list is horizontally or vertically scrolled.
Default value: 0
pressed INTEGER
Contains the index of the currently pressed tab. A -1 value is selected when no tabs are pressed.
Default value: -1
scalable BOOLEAN
Selects if the user is allowed to resize the tabs.
Default value: 1
vertical BOOLEAN
If 1, the tabs are aligned vertically; the offset, widths property and extent parameters of the callback notification assume heights of
the tabs.
If 0, the tabs are aligned horizontally, and the extent properties and parameters assume tab widths.
widths ARRAY
Array of integer values, corresponding to the extents of the tabs. The extents are widths ( "vertical" is 0 ) or heights ( "vertical"
is 1 ).
Methods
tab2offset INDEX
Returns offset of the INDEXth tab ( without regard to offset property value ).
tab2rect INDEX
Returns four integers, representing the rectangle area, occupied by the INDEXth tab ( without regard to offset property value ).
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima, Prima::Widget, Prima::DetailedList, examples/sheet.pl.
perl v5.14.2 2009-02-24 Prima::Header(3)