Hi I'm in the need of a script that basically takes two files and generates a 3rd. It reads from fileA and fileB and copies lines from fileA if they start by a word of fileB.
for example
fileA
The dog is beautful
Where is your cat
Why are you sad?
Help me!
fileB
The
Where
tree
dog... (4 Replies)
Hi Gurus,
I'm need of a script in which we are finding an independent word ‘boy' in a log file. We are using grep in order to do the same. Now in this log file there are some sentences where we see ‘This is a boy' and we do not want to count word ‘boy' from this sentence.
So in other word we want... (2 Replies)
Please help me in ignoring first word in a line example
Input log
123^Babd^Basdf789^B098^Bouiou
Desired output
abd,asdf789,098,ouiou
123 should be ignored
is this possible using sed regular expressions
Use code tags - you got a PM with a guide. (2 Replies)
Hello everybody,
How can I start to print an output when a word hits the pattern space.
for example:
file.txt :
first line
second line
third line
fourth line
...
cat file.txt > function "second"
should print
second line
third line
fourth line
...
thanks for the replies now... (3 Replies)
Hi
I am new to Awk programming , i would appreciate if anyone help me with the below scenario
i have text file arranged in rows and columns like below
11004 04493384 26798 CASSI0000I Server manager initialization started
111004 04493486 26798 CASSI4005I Retrieving ES... (7 Replies)
I want to find a regex command that I can run on the command line that will find a whole word followed by another whole word (that I specify in the command).
What I am looking to do is also include a file extension (like .txt) in the command such that it only runs the regex on files with that... (6 Replies)
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Hi
Input:
MYTEXT.aa.bb
cc.MYTEXT.aa.bb
ee.dd.cc.MYTEXT.aa.bb
cc.NOTEXT.a.b
Output:
<empty>
cc
cc
<empty>
I would like to use a regex to extract the last word before MYTEXT without the dot (2 Replies)
Hello, All
I learned from book about word anchor "\<" and "\>"; however when I tested them, they seem to work only in grep.
Can anyone suggest word anchor that can be used in grep, awk, perl ...? (3 Replies)
I am interested in finding a regex to find a word in second position on a line. The word in question is या
I tried the following PERL EXPRESSION but it did not work:
] या
or
^\W या
But both gave Null results
I am giving below a Sample file:
देना या सौंपना=delegate
तह जमना या... (8 Replies)
Discussion started by: gimley
8 Replies
LEARN ABOUT DEBIAN
vlatai
vlatai(1L)vlatai(1L)NAME
vlatai - Lojban word analyzer
SYNOPSIS
vlatai [ -v ] [ word ]
DESCRIPTION
vlatai is a program that reads a list of Lojban words from standard input, one word per line. In its usual mode, it writes a single output
line for each input line, advising of which kind of Lojban word the input line is. If the input word has cmavo prefixed onto it, vlatai
shows the individual cmavo and the base word itself.
In the verbose mode (obtained using -v), the workings of the internal state machines used for scanning the word are exposed. This may give
some insight into where an error lies on words that can't be parsed, especially if the output is used in conjuction with the report files
built during the compilation process.
Note that vlatai is primarily a testbench for the word categorizer/splitter inside jbofihe. vlatai is not fully supported or documented as
a stand-alone program.
OPTIONS -v Verbose; show lots of information about the evolution of the internal state
word The word to check. If no 'word' argument is supplied, the program reads words from standard input, one word per line (with no
whitespace around it.)
REFERENCES
http://go.to/jbofihe
Home page for the jbofihe project (of which cmafihe is part)
http://www.lojban.org/
Home page of the Lojban community
http://www.rrbcurnow.freeuk.com/lojban/
My Lojban page.
AUTHOR
Richard Curnow <rpc@myself.com>
December 2000 vlatai(1L)