04-27-2009
Cheers. I suspect you are right
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Experts,
please help me out once again my array concepts is not very clear i have one text file like.
1|usa|hh
2|usa|ll
3|usa|vg
4|uk|nn
5|uk|bb
6|kuwait|mm
6|kuwait|jkj
7|dubai|hh
i want to store the third fied of a text file in he array and after that it should give me some... (6 Replies)
Discussion started by: shary
6 Replies
2. Shell Programming and Scripting
I am using /bin/ksh for this problem.
I have created some arrays with variable names as the array names:
cnt=1
{ while read myline; do
tempmeas="${meas%%;*}"
cto="${meas#*;}"
tempstream=$stream
# wholemeas holds the name of the array
# each array name... (0 Replies)
Discussion started by: ajgwin
0 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I would like to declare a vector of variables and access them sequentially.
Here is my code
ARRAY_CT="0001000000 0000100000 0000010000"
ELEMENTS_CT=${#ARRAY_CT}
echo $ELEMENTS_CT
for (( j=1;j<=$ELEMENTS_IS;j++)); do
echo ${ARRAY_IS}
done
... (2 Replies)
Discussion started by: f_o_555
2 Replies
4. Programming
Hi All,
I am using the array of pointers and storing the address of string.This is a global list.
So i am using extern to give the reference of this list to another file and using reading the data from this string.
But list is being corrupted and string is missing some characters in... (2 Replies)
Discussion started by: lovevijay03
2 Replies
5. Programming
i have no idea how to make a text file
abc efg
hij klm
nop qrs
to be a array such as, arr to be "abc efg" arr "hij kml" etc..... in C (2 Replies)
Discussion started by: tyckelvin1
2 Replies
6. Shell Programming and Scripting
Hi all,
I am working in ubuntu for past few weeks .Since I was working in debian I had no problem with arrays.I followed the same method in ubuntu,but is is not working as I expected.
Name="apple"
Name="orange"
print ${Name}
Expected result is apple.But I got a error as "Bad... (8 Replies)
Discussion started by: karthigayan
8 Replies
7. Shell Programming and Scripting
How would i display the output of /proc/partitions in gb representation/
Please help.
Also eager to know what is dm-0 and dm-1?
# cat /proc/partitions
major minor #blocks name
3 0 8388608 hda
3 1 104391 hda1
3 2 8281507 hda2
3 64 102400 hdb
... (7 Replies)
Discussion started by: pinga123
7 Replies
8. Shell Programming and Scripting
I've got this problem, if I modify an array in the loop and print it, everything is fine as long as I stay in the loop. But, when I print it outside the loop, nothing happens... How can I solve this problem?
Here I prepared a sample for you to see my problem;
zgrw@Rain:~$ cat test
asd
123... (4 Replies)
Discussion started by: zgrw
4 Replies
9. Shell Programming and Scripting
Hi Frnds
I need to sum up the values of a single array and store it in another variable, here is what im trying
sumArray=0
for i in ${srvcFeeAmt}
do
echo " s of i value----> "$i
sumArray=`expr $sumArray + ${i}`
done
echo "Sum of the array---->... (2 Replies)
Discussion started by: balesh
2 Replies
10. Shell Programming and Scripting
Hi,
Im trying to count bats flying through an infrared beam array. One of the experts here helped me a few months ago but now I am having a problem that is stumping me.
here is the original code that works (with two differnt patterns in array):
# this has been changed to operate under the... (15 Replies)
Discussion started by: cmp260
15 Replies
LEARN ABOUT CENTOS
th_wcisthdigit
thai/thwctype.h(3) libthai thai/thwctype.h(3)
NAME
thai/thwctype.h -
Thai wide-char character classifications.
SYNOPSIS
Functions
int th_wcistis (thwchar_t wc)
Is the wide character convertible to a valid TIS-620 code?
int th_wcisthai (thwchar_t wc)
Is the wide character a Thai character?
int th_wciseng (thwchar_t wc)
Is the wide character an English character?
int th_wcisthcons (thwchar_t wc)
Is the wide character a Thai consonant?
int th_wcisthvowel (thwchar_t wc)
Is the wide character a Thai vowel?
int th_wcisthtone (thwchar_t wc)
Is the wide character a Thai tone mark?
int th_wcisthdiac (thwchar_t wc)
Is the wide character a Thai diacritic?
int th_wcisthdigit (thwchar_t wc)
Is the character a Thai digit?
int th_wcisthpunct (thwchar_t wc)
Is the character a Thai punctuation?
int th_wcistaillesscons (thwchar_t wc)
Is the wide character a Thai consonant that fits the x-height?
int th_wcisovershootcons (thwchar_t wc)
Is the wide character a Thai consonant with stem above ascender?
int th_wcisundershootcons (thwchar_t wc)
Is the wide character a Thai consonant with stem below baseline?
int th_wcisundersplitcons (thwchar_t wc)
Is the wide character a Thai consonant with split part below baseline?
int th_wcisldvowel (thwchar_t wc)
Is the wide character a Thai leading vowel?
int th_wcisflvowel (thwchar_t wc)
Is the wide character a Thai following vowel?
int th_wcisupvowel (thwchar_t wc)
Is the wide character a Thai upper vowel?
int th_wcisblvowel (thwchar_t wc)
Is the wide character a Thai below vowel?
int th_wcchlevel (thwchar_t wc)
Position for rendering:
Detailed Description
Thai wide-char character classifications.
Function Documentation
int th_wcchlevel (thwchar_twc)
Position for rendering:
o 3 = above/top
o 2 = top
o 1 = above
o 0 = base
o -1 = below
int th_wcistis (thwchar_twc)
Is the wide character convertible to a valid TIS-620 code? TIS-620 here means US-ASCII plus TIS-620 extension.
Author
Generated automatically by Doxygen for libthai from the source code.
Version 0.1.14 Tue Jun 17 2014 thai/thwctype.h(3)