Hi,
I have this text file with these words and I need help with removing words with repeated letter from these lines.
remove the words like 'eeee' and 'III'
i know there is a way of using sed to remove specific lines, I think it's along the lines of 's/'eeee/' but i want a way to remove any repeated letters using one command.
Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Hi,
I am trying to filter the words from a file which contain 'abc'. But I am unable to. Could any one help me.
For eg: The file contents are
123ab 12hnj1 123abc456 123cgbcahjkf23 23134abchfhj43 gc32abc abc1 2abc3 sd uiguif fhwe 21242 uh123 jkcas124d123 u3hdbh23u ffsd8
Output... (3 Replies)
Hi Pls help in solving my doubt.Iam having file like below
file1.txt
priya
jenny
jenny
priya
raj
radhika
priya
bharti
bharti
Output required:
I need a output like count of repeated words with name for ex:
priya 3
jenny 2 (4 Replies)
Hello friends!
Each line of my input file has this format:
word<TAB>tag1<blankspace>lemma<TAB>tag2<blankspace>lemma ... <TAB>tag3<blankspace>lemma
Of this file I need to eliminate all the repeated tags (of the same word) in a line, as in the example here below, but conserving both (all) the... (2 Replies)
Hello,
I need a script to do the following:
I have a file filled of lines like:
valu -> value
confirmaton -> confirmation
I need a script to compare the first and last letters of the words, for example for the line:
valu -> value
compare "v" to "v" and "u" to "e" and print the line... (7 Replies)
Hi all,
I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated
ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192)
CHST3 (PA26503) docetaxel... (2 Replies)
I need to use bash to convert sentences where all words start with a small letter into one where all words start with a capital letter.
So that a string like:
are utilities ready for hurricane sandy
becomes:
Are Utilities Ready For Hurricane Sandy (10 Replies)
I have a word file that looks like:
pens
binder
spiral
user
I want to delete all the words without the letter /s/, so output looks like:
pens
spiral
user
I tried using sed:
sed '//d' infile.txt > out.txt (5 Replies)
Hi below is the input file, i need to find repeated words and sum up the values of it which is second field from the repeated work.Im trying but getting no where close to it.Kindly give me a hint on how to go about it
Input
fruits,apple,20,fruits,mango,20,veg,carrot,12,veg,raddish,30... (11 Replies)
Hi,
I have written the following python snippet to store the capital letter starting words into a dictionary as key and no of its appearances as a value in this dictionary against the key.
#!/usr/bin/env python
import sys
import re
hash = {} # initialize an empty dictinonary
for line in... (1 Reply)
Discussion started by: royalibrahim
1 Replies
LEARN ABOUT V7
man
MAN(7) Miscellaneous Information Manual MAN(7)NAME
man - macros to typeset manual
SYNOPSIS
nroff -man file ...
troff -man file ...
DESCRIPTION
These macros are used to lay out pages of this manual. A skeleton page may be found in the file /usr/man/man0/xx.
Any text argument t may be zero to six words. Quotes may be used to include blanks in a `word'. If text is empty, the special treatment
is applied to the next input line with text to be printed. In this way .I may be used to italicize a whole line, or .SM followed by .B to
make small bold letters.
A prevailing indent distance is remembered between successive indented paragraphs, and is reset to default value upon reaching a non-
indented paragraph. Default units for indents i are ens.
Type font and size are reset to default values before each paragraph, and after processing font and size setting macros.
These strings are predefined by -man:
*R `(Reg)', trademark symbol in troff.
*S Change to default type size.
FILES
/usr/lib/tmac/tmac.an
/usr/man/man0/xx
SEE ALSO troff(1), man(1)BUGS
Relative indents don't nest.
REQUESTS
Request Cause If no Explanation Break Argument t no t=n.t.l.*Text t is bold.
t no t=n.t.l. Join words of t alternating bold and italic. t no t=n.t.l. Join words of t alternat-
ing bold and Roman.
i. Begin paragraph with hanging indent. t no t=n.t.l. Text t is italic. t no t=n.t.l. Join words of t alternating italic and
bold.
x x. t no t=n.t.l. Join words of t alternating italic and Roman.
d.
Set prevailing indent to .5i.
Set prevailing indent to amount of starting .RS. t no t=n.t.l. Join words of t alternating Roman and bold. t no t=n.t.l. Join
words of t alternating Roman and italic.
move left margin in distance i. Set prevailing indent to .5i for nested indents.
t yes t=n.t.l. Subhead.
t no t=n.t.l. Text t is small.
n(c) named n(c)
n of chapter c; x is extra commentary, e.g. `local', for page foot. Set prevailing indent and tabs to .5i.
i. Begin indented paragraph with hanging tag given by next text line. If tag doesn't fit, place it on separate line.
* n.t.l. = next text line; p.i. = prevailing indent
page x yes - Begin n(c)