Search Results

Search: Posts Made By: deepakpv
9,696
Posted By deepakpv
Thanks a lot Annihilannic. I will test this. ...
Thanks a lot Annihilannic.
I will test this.

Regards,
Deepak
9,696
Posted By deepakpv
How to search multiple strings in a file
Hi All,

I want to search all the ksh scripts that has following details.
1. Search for "exit 0"
2. Search for "sqlldr" or sqlplus"
3. In the above files i want to search for all the script that...
11,612
Posted By deepakpv
Hi Rajiv, Thanks for your reply. I am...
Hi Rajiv,

Thanks for your reply.
I am using this command sed 's/ | /|/g' temp.dat>temp1
After reading your post i am scared to use sed command.

Thanks,
Deep
3,322
Posted By deepakpv
How to Delete space from the file
Hi,

I want to delete the space from the file.

For eg :
deep | raj | sis

i want the output as

deep|raj|sis

Please Help me

Thanks,
Deep
11,612
Posted By deepakpv
Hi Rajiv, Did you get the Solution for the...
Hi Rajiv,

Did you get the Solution for the above Problem?
please help me. I am also facing the similar problem.

Thanks,
Deepak
6
2,580
Posted By deepakpv
ya this is working fine. but if i change the...
ya this is working fine.
but if i change the code like using another variable $no.

#!/usr/bin/perl
$str1="+++++";
$no=5;
check($str1,"\\+",$no);
sub check{
$str1=$_[0];
$str2=$_[1];...
6
2,580
Posted By deepakpv
Regex
Hi,
i want to match a string using perl that has got 5 pluses(+++++).
i am using a function for this.
$str1="+++++";
check($str1,"\\+");
sub check{
$str1=$_[0];
$str2=$_[1];
...
3,253
Posted By deepakpv
Compare 2 hash
Hi ,

How to compare 2 hash keys in perl..

Thanks,
Deepak
9,201
Posted By deepakpv
Thanks Vish.
Thanks Vish.
9,201
Posted By deepakpv
Thanks Andryk. It worked :)
Thanks Andryk.
It worked :)
9,201
Posted By deepakpv
Escape character
Hi ,
I want to change space to ' in my script.
I tried doing this,

sed 's/ /\'/g' filename

but i could not get it.
can some one help me please.
Thanks,
Deepak
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 04:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy