10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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:
But both gave Null results
I am giving below a Sample file:
देना या सौंपना=delegate
तह जमना या... (8 Replies)
Discussion started by: gimley
2. Shell Programming and Scripting
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)
Discussion started by: littlewenwen
3. Shell Programming and Scripting
I would like to use a regex to extract the last word before MYTEXT without the dot (2 Replies)
Discussion started by: chitech
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: chicchan
5. Shell Programming and Scripting
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)
Discussion started by: jvsrvcs
6. Shell Programming and Scripting
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)
Discussion started by: rakeshkumar
7. Shell Programming and Scripting
How can I start to print an output when a word hits the pattern space.
cat file.txt > function "second"
thanks for the replies now... (3 Replies)
Discussion started by: Oddant
8. Shell Programming and Scripting
Please help me in ignoring first word in a line example
123 should be ignored
is this possible using sed regular expressions
Use code tags - you got a PM with a guide. (2 Replies)
Discussion started by: thankful123
9. UNIX for Advanced & Expert Users
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)
Discussion started by: heyitsmeok
10. Shell Programming and Scripting
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.
The dog is beautful
Where is your cat
Why are you sad?
dog... (4 Replies)
Discussion started by: FrancoisCN