Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Grepping Words with No Vowels Post 302772726 by sudon't on Tuesday 26th of February 2013 02:51:58 PM
Old 02-26-2013
Quote:
Originally Posted by MadeInGermany
Read them like this:

grep lines without a 'vowel'

grep lines with a 'non-vowel'
Ok, I see. So in the second case, any line which contains a non-vowel returns 'true'. I guess we could use the -v flag there, and get vowels only.
Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Number of Vowels

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

Shell script to find out words, replace them and count words

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

Counting vowels in string. "Comparison pointer-integer".

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

Grepping a list of words from one file in a master database of homophones

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

How count the number of two words associated with the two words occurring in the file?

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

Gawk gensub, match capital words and lowercase words

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

Replace the words in the file to the words that user type?

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

Search words in any quote position and then change the words

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

Pure C function pointer on printing vowels twice

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

Replace particular words in file based on if finds another words in that line

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
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)
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy