02-27-2013
grep uses REGEX.
In REGEX the * means the previous character can be repeated zero...many times.
A previous [^aeiou] is a 'non-vowel' character.
[^aeiou]* is any repetition of a 'non-vowel'.
The ^ at the beginning is 'beginning of line', and $ at the end means 'end of line'.
So you read the entire thing as
grep lines with any repetition of a 'non-vowel' between the beginning and the end of the line.
In other words: no other characters are allowed.
This User Gave Thanks to MadeInGermany For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
It may look silly, but I am stuck on it and need some help
How to count number of vowels in a text file
Regards,
Gaurav Goel (14 Replies)
Discussion started by: gauravgoel
14 Replies
2. Shell Programming and Scripting
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to write a programme which scans strings to find how many vowels they contain. I get an error saying that I'm trying to compare a pointer and an integer inif(*v == scanme){. How can I overcome this ? Also, the programme seems to scan only the first word of a string e.g.: if I type "abc... (1 Reply)
Discussion started by: fakuse
1 Replies
4. Shell Programming and Scripting
Hello,
I am sorry if the title is confusing, but I need a script to grep a list of Names from a Source file in a Master database in which all the homophonic variants of the name are listed along with a single indexing key and store all of these in an output file. I need this because I am testing... (4 Replies)
Discussion started by: gimley
4 Replies
5. Shell Programming and Scripting
Hi ,
I need to count the number of errors associated with the two words occurring in the file. It's about counting the occurrences of the word "error" for where is the word "index.js". As such the command should look like. Please kindly help. I was trying: grep "error" log.txt | wc -l (1 Reply)
Discussion started by: jmarx
1 Replies
6. Shell Programming and Scripting
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
Discussion started by: louisJ
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I would like to change my setting in a file to the setting that user input.
For example, by default it is
ONBOOT=ON
When user key in "YES", it would be
ONBOOT=YES
--------------
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
Discussion started by: malfolozy
5 Replies
8. Shell Programming and Scripting
hi,
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
"Ninguno","Confirma","JuicioABC"
"JuicioCOMP","Recurso","JuicioABC"
"JuicioDELL","Nulidad","Nosino"
"Solidade","JuicioEUR","Segundo"
need... (1 Reply)
Discussion started by: benjietambling
1 Replies
9. Programming
Have difficulty to understand this pure C code to only print vowels twice from input string. Questions are commented at the end of each place.
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
/*
*Demonstrate the use of dispatch tables
*/
/*Print a char... (11 Replies)
Discussion started by: yifangt
11 Replies
10. Shell Programming and Scripting
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
Discussion started by: Rajib Podder
8 Replies
LEARN ABOUT CENTOS
th_wcisthcons
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)