Hi All,
I am new to this shell scripting world. Struck up with a problem, can anyone of you please pull me out of this.
Requirement : Need to get the index of a substring from a parent string
Eg : index("Sandy","dy") should return 4 or 3.
My Approach :
I used Awk function index to... (2 Replies)
give me a shell-script which extract data from log file on a server by giving date and time as input (for both start time and end time) and it will give the logs generated during the given time as output. (4 Replies)
Hello Scripting Gurus,
I need help with extracting data from the XML file using shell script.
The data is in a large XML and I need to extract the id values of all completedworkflows. Here is a sample of it. Input and output data is also in the attached text files.
<wfregistry>... (5 Replies)
If I have a log like :
Mon Jul 19 05:07:34 2010; TCP; eth3; 52 bytes; from abc to def
Mon Jul 19 05:07:35 2010; UDP; eth3; 46 bytes; from aaa to bbb
Mon Jul 19 05:07:35 2010; TCP; eth3; 52 bytes; from def to ghi
I will need an output like this :
Time abc to def... (1 Reply)
Hi All,
i've a string
/u/asak/DATE/TEST_LOGS/20110704_033429_test11_w_2_120/HDD/test11_w_2_12/hd-120
i need to extract string which is test11_w_2_120, this can be start with anything, numbers, characters with underscore etc.. but the time stamp 20110704_033429_ with two underscores will be... (5 Replies)
Hi to all,
I got this content/pattern from file http.log.20110808.gz
mail1 httpd: Account Notice: close igchung@abc.com 2011/8/7 7:37:36 0:00:03 0 0 1
mail1 httpd: Account Information: login sastria9@abc.com proxy sid=gFp4DLm5HnU
mail1 httpd: Account Notice: close sastria9@abc.com... (16 Replies)
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Hi Guys,
I am new to shell script.I need your help to write a shell script.
I need to write a shell script to extract data from a .csv file where columns are ',' separated.
The file has 7 columns having values say column 1,column 2.....column 7 as below along with their values.
Name, Address,... (7 Replies)
Hi everyone,
I have a csv file which has data with different heading and column names as below.
Static Data Ingested
,,,,,,,,,,,,Known Explained Rejections
Column_1,column_2,Column_3,Column_4,,Column_6,Column_7,,% Column_8,,Column_9 ,Column_10 ,... (14 Replies)
I have this 5GB file, and i want to extract from the file particulars pattern.
this is my script:
//
count=`grep -wc "MSISDN" file_name`
k=1
>OUTPUT
>OUTPUT_Final
while
do
cat file_name | awk -F":" -v var="$k" '$1=="MSISDN" {m++}m==var{print; exit}' >> OUTPUT
cat file_name |awk -F":"... (33 Replies)
Discussion started by: gillesi
33 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)