10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I want to implement something like this:
if( keyword1 exists)
then
check if(keyword2 exists in the same line)
then replace keyword 2 with New_Keyword
else
Add New_Keyword at the end of line
end if
eg:
Check for Keyword JUNGLE and add/replace... (7 Replies)
Discussion started by: dashing201
7 Replies
2. Shell Programming and Scripting
Hi
I'm trying to make script that will connect to FTP Server than find files that contain word HIGH in name and than export them to another server. Can anyone tell me if something like this is possible?
Thanks :) (7 Replies)
Discussion started by: steve87bg
7 Replies
3. Shell Programming and Scripting
Hello,
I have a file with a keyword ccas i want to copy the keyword once in VI and have to paste it in the same file for multiple time,let's say 700 times,i dont know hoe to do it.
Kindly help me on this
Regards
Thelak (2 Replies)
Discussion started by: thelakbe
2 Replies
4. Shell Programming and Scripting
Hi,
So I'm kinda new to shell scripts and the like. I've picked up quite a bit of use from browsing the forums here but ran into a new one that I can't seem to find an answer for.
I'm looking to parse/find a string AND the next 15 or so charachters that follow the string within a text file... (1 Reply)
Discussion started by: kar23me
1 Replies
5. Shell Programming and Scripting
hi dudes;
this is my file.txt:20101228-180436_Down
a 1
b 2
...
20101228-190436_Rollback
a 1 40
e 3 20
...
20101228-180436_Down
c 2
f 2
c 1
...
and i have a down.txt:a 1 aa 2 30 bb 1 40
b 2 ab 3 10
c 3 cd 4 50 ac 2 20
c 3 ad 1 0 (2 Replies)
Discussion started by: gc_sw
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Experts,
I have a file which contains some text. i need to print the word next to a given keyword. Please help.
Ex: test.txt
=====================
NEXT HOST
=====================
AEADBAS001
access-list 1 permit xxxxxxxxxxxxxx
ip access-list extended BLA_Outgoing_Filter... (6 Replies)
Discussion started by: mwrg
6 Replies
7. Solaris
Hi,
This is my first post.
Please help me.
I wanted to find a particular key word in the entire system not in the filename, it should be in the file content.
The output should display me...
<The filename>, number of times the keyword is repeated.
like
file1: 2
file2: 4... (3 Replies)
Discussion started by: pointers
3 Replies
8. Shell Programming and Scripting
I like to display 5 lines before and after find some keywork (i.e. error).
Thanks in advance (5 Replies)
Discussion started by: wangzosen
5 Replies
9. Programming
Hello,
What is far keyword in C and for what purpose is it used???
Pls ans.
thanx in advance.
svh (2 Replies)
Discussion started by: svh
2 Replies
10. Shell Programming and Scripting
Hi,
I want to know all the keywords in perl as well as their usage. plz provide if u have any URL regarding this.
In my perl script first 2 lines are
1)use DBI;
2)require "hello.pl";
what is the use these two statements.
i thought the second one may be like include .
Thanks in advance.... (1 Reply)
Discussion started by: sarwan
1 Replies