10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have below text file only with one line:
vi test.txt
This is the first test from a1.loa1 a1v1, b2.lob2, "c3.loc3" c3b1, loc4 but not from mot3 and second test from a5.loa5
Below should be the output that i want:
a1.loa1
b2.lob2
c3.loc3
loc4
a5.loa5
alv1 and c3b1 should be... (3 Replies)
Discussion started by: khchong
3 Replies
2. Shell Programming and Scripting
Hi
I am trying to determine number of lines having a specific keyword.
So for that I am using below query:
grep -i 'keyword1' filename|wc -l
This give me number of lines. Perfect for me.
However now the requirement is
I have multiple keywords together... and I have to find number of... (3 Replies)
Discussion started by: dashing201
3 Replies
3. Shell Programming and Scripting
Hi
I want to extract all the words between two keywords HELLO & BYE.
eg:
Input
1_HELLO_HOW_ARE_YOU_BYE_TEST
1_HELLO_WHERE_ARE_BYE_TEST
1_HELLO_HOW_BYE_TEST
Output Required:
HOW_ARE_YOU
WHERE_ARE
HOW (7 Replies)
Discussion started by: dashing201
7 Replies
4. Shell Programming and Scripting
I have this file
1801,A1,2012-12-16 15:59:59.995,id2_3,ab,phoneC2-00,VOE,,,,,,,,,,,,,,,
1802,A1,2012-12-16 15:59:59.995,id2_3,ab=,phoneX1-01,BL,,,,,,,,,,,,,,,
1803,A1,2012-12-16 15:59:59.995,id2_3,ab,phone300,BL,,,,,,,,,,,,,,,
1804,A1,2012-12-16... (4 Replies)
Discussion started by: nikhil jain
4 Replies
5. Shell Programming and Scripting
Hi All,
Please help with code for this.
I want to parse several huge files and summarize relevant information into columns.
The columns of output are title, pagebegin,pageend, author1,author2....,author8, abstract. Column descriptions are as follows.
Title
Line after single integer value... (3 Replies)
Discussion started by: alpesh
3 Replies
6. Shell Programming and Scripting
hey guys,
Hey all,
I'm doing a project currently and want to index words in a webpage.
So there would be a file with webpage content and a file with list of words, I want an output file with true and false that would show which word exists in the webpage.
example:
Webpage content... (2 Replies)
Discussion started by: Johanni
2 Replies
7. Shell Programming and Scripting
sed 's/abcd/$variable/g' abcd_calls > $variable_calls
This is the statement i am trying which has 2 errors in it.
1st- sed 's/abcd/$variable/g' is changing abcd to $variable in the file abcd_calls ,I want it to convert abcd into the string value given by user through read command, taking... (1 Reply)
Discussion started by: learnbash
1 Replies
8. Shell Programming and Scripting
Hi, how to cut id from line ?
....<a class='adata' href='User.php?uid=545554'>....
to
545554 (3 Replies)
Discussion started by: Trump
3 Replies
9. UNIX and Linux Applications
Hi all,
I am retrieving mail from live mail server to local mail server. I want to know that, how can i exclude some peoples from getmail domain retrival.
verbose = 1
read_all = true
delete_after = 30
message_log = ~/.getmail/log
type = MultidropIMAPRetriever
server = mail.abc.com... (0 Replies)
Discussion started by: jagnikam
0 Replies
10. Shell Programming and Scripting
I have a website with a lot of php files. I need to to have the line (where "requiredfile.php"' should be a valid reference to the requiredfile.php in the top directory):
require "requiredfile.php" as first line in every php file. The requiredfile.php will be in the top dir and the line I... (2 Replies)
Discussion started by: ibidris2003
2 Replies