I have in file these words:
@fraza1 = rw
@fraza2 = r
@fraza3 = r
@fraza4 = r
@fraza5 = r
@fraza1 = r
@fraza6 = r
@fraza7 = r
@fraza2 = r
@fraza8 = r
@fraza9 = r
...
I would like so that:
,rw,@fraza1
,r,@fraza2 (2 Replies)
Hi,
I am trying to fetch some values from db and spooling the output to a file.
when i query the db for the values, i get the values in following format.
PC_1 wf_test1 Test
PC_2 wf_test2 Test
PC_3 wf_test3 Test
But my spool file was created in following format.
PC_1
wf_test1
Test... (20 Replies)
I have a script which converts rows to columns.
file_name=$1
mailid=$2
#CREATE BACKUP OF ORIGINAL FILE
#cp ${file_name}.xlsx ${file_name}_temp.xlsx
#tr '\t' '|' < ${file_name}_temp.xlsx > ${file_name}_temp.csv
#rm ${file_name}_temp.xlsx
pivot_row=`head -1 ${file_name}`
sed 1d... (3 Replies)
I am working on an assignment to pull all the records from excel sheet programatically and use the data for further calculations.
In this process, I first defined 10 records in excel sheet and executed the below code.
In the first run it is OK. But after deleting last few rows in excel sheet and... (0 Replies)
Hi,
I have a requirement to convert rows into columns. data looks like:
c1,c2,c3,..
r1,r2,r3,..
p1,p2,p3,..
and so on..
output shud be like this:
c1,r1,p1,..
c2,r2,p2,..
c3,r3,p3,..
Thanks in advance, (12 Replies)
Hi I'm a UNIX awk and sed novice at best. I'm trying to creat a .csv file so it can be graphed in Excel. Tried various xargs, awk, sed and paste but just can't seem to get the data to line up. Not sure if this is beyond for a question in these forums. Any help would greatly be appreciated.
Have... (4 Replies)
Hi All,
I would like to send below output in a tabular column ( xml or excel ) and send a mail.
vinay unix
anil sql
vamsee java
request to suggest a solution. (1 Reply)
hi all
I need a help ..I have a script that takes has command and its output is like below..
a b
a v v
a c
I am assigning the above outputs to a variable ..
<variable name> = <command output>
problem here is when I echo the variable ..it gives me output like " a b... (3 Replies)
Discussion started by: shankarb
3 Replies
LEARN ABOUT CENTOS
tacchtype
thai/wtt.h(3) libthai thai/wtt.h(3)NAME
thai/wtt.h -
WTT I/O implementation.
SYNOPSIS
Enumerations
enum WTTClass { CTRL = 0, NON = 1, CONS = 2, LV = 3, FV1 = 4, FV2 = 5, FV3 = 6, BV1 = 7, BV2 = 8, BD = 9, TONE = 10, AD1 = 11, AD2 = 12,
AD3 = 13, AV1 = 14, AV2 = 15, AV3 = 16 }
Classification of characters in TIS620 according to WTT.
enum WTTOp { CP = 1, XC = 2, AC = 3, RJ = 4, SR = 5 }
Composibility checking tables.
Functions
WTTClass TACchtype (thchar_t c)
WTT character class.
WTTOp TACio_op (thchar_t c1, thchar_t c2)
WTT I/O operation.
Detailed Description
WTT I/O implementation.
WTT stands for Wing Tuk Tee (in Thai, Runs everywhere). It was defined by TACTIS (Thai API Consortium/Thai Industrial Standard) in the
NECTEC Thai Software Standard Project (1989-1991), and later endorsed by Thai Industrial Standard Institute (TISI) as TIS 1566-2541 in
1998.
WTT classifies Thai chracter(TIS-620) into 17 types below.
ITYPE VALUE SHORT_DESCRIPTION
CTRL 0 control characters
NON 1 non composible characters
CONS 2 consonants
LV 3 leading vowels
FV1 4 following vowels 1
FV2 5 following vowels 2
FV3 6 following vowels 3
BV1 7 below vowels 1
BV2 8 below vowels 2
BD 9 below diacritics
TONE 10 tonemarks
AD1 11 above diacritics 1
AD2 12 above diacritics 2
AD3 13 above diacritics 3
AV1 14 above vowels 1
AV2 15 above vowels 2
AV3 16 above vowels 3
Functions in thctype.h do basic character classifications while wtt.h classifies a chracter in detail. Please refer to the reference.
TACio_op() checks how to compose two given chracters. The possiblities are Composible (CP), Non-display (XC), Accept (AC), Reject (RJ) and
Strict Reject (SR). The values of CP, XC, AC, RJ and SR are difined in wtt.h. And their meanings are:
o CP : second character is displayed in the same cell as the first, also implies an acceptance.
o XC : Do nothing.
o AC : Display second character in the next cell.
o RJ : Discard second character.
o SR : Reject second character only in strict mode.
Enumeration Type Documentation
enum WTTClass
Classification of characters in TIS620 according to WTT.
Enumerator
CTRL control chars
NON non composibles
CONS consonants
LV leading vowels
FV1 following vowels 1
FV2 following vowels 2
FV3 following vowels 3
BV1 below vowels 1
BV2 below vowels 2
BD below diacritics
TONE tonemarks
AD1 above diacritics 1
AD2 above diacritics 2
AD3 above diacritics 3
AV1 above vowels 1
AV2 above vowels 2
AV3 above vowels 3
enum WTTOp
Composibility checking tables.
Enumerator
CP COMPOSIBLE - following char is displayed in the same cell as leading char, also implies ACCEPT
XC Non-display
AC ACCEPT - display the following char in the next cell
RJ REJECT - discard that following char, ignore it
SR STRICT REJECT - REJECT only if in strict mode
Function Documentation
WTTClass TACchtype (thchar_tc)
WTT character class.
Parameters:
c : the character
Returns:
WTT character class { CTRL, ..., AV3 }
WTTOp TACio_op (thchar_tc1, thchar_tc2)
WTT I/O operation.
Parameters:
c1 : previous character
c2 : next character
Returns:
WTT I/O operation { CP, XC, AC, RJ, SR }
Author
Generated automatically by Doxygen for libthai from the source code.
Version 0.1.14 Tue Jun 17 2014 thai/wtt.h(3)