Search Results

Search: Posts Made By: jatanig
1,182
Posted By jatanig
Regarding anonymous hash in PERL
Hi,

I have doubt regarding the Anonymous hash. For creating a object we are generally using Anonymous hash.
My Doubt is:
Why we are only using Anonymous hash?? Instead of Anonymous hash can we...
1,502
Posted By jatanig
Thanks for your response. It is now cleared.
Thanks for your response. It is now cleared.
1,502
Posted By jatanig
New PERL guru's help on strict.pm
I opened strict.pm and found some not understandable stuff, please let me know if you have any Idea on the same.

1) Line 23 => $bits |= (what is $= here how it affect the statement)
2) ...
1,254
Posted By jatanig
what error u are getting??
what error u are getting??
7,666
Posted By jatanig
Write a shell script to find ctrl M and delete them
Hi All,

I would like to write a shell script to find Control M charactes and after getting the result i want to delete it. But in the script the following command couldn't work.

find . -exec...
4,426
Posted By jatanig
Schedule a job using Crontab
I would like to execute my script at 17.30 and 23.00 using crontab, could anybody help me out!!

Thanks in Advance!!
3,488
Posted By jatanig
Thanks for fast response. But if omitted...
Thanks for fast response. But if omitted expression is always false then the test I have written is always remains false!! Which I supposed is not correct..
3,488
Posted By jatanig
-a test in shell script
I need clarification in -a test.

If say, in test -a left expression is not present but the right expression is present, do the shell will consider the left expression true and evaluate the right...
2,159
Posted By jatanig
What is -n in shell scripting?
Could anybody tell me that what is -n test ?

for example:

if [ -n $VARIABLE ] then
exec_script.sh
fi

Thanks in advance!!!
2,709
Posted By jatanig
Big Thanks Franklin, that was such a nice article...
Big Thanks Franklin, that was such a nice article by Jim... :b:
2,709
Posted By jatanig
What does . means?
Hi,

I have seen in some ksh script, that we are executing shell scripts inside other shell script as
. variable.sh

What is . here? Their is space between . and variabloe. And why we are not...
2,623
Posted By jatanig
Facing problem in XML::parser module in PERL
HI,

I have XML file which is having values as Spanish character (UTF-8 encoding). I am using XML::parser module but my code is not able to read those characters. I did goggling but not able to...
7,134
Posted By jatanig
In Linux I am doing like: grep -B 200...
In Linux I am doing like:

grep -B 200 "search string" script_name.sh > new_file

Check man grep in the UNIX flavor u r using. For further details.
2,806
Posted By jatanig
I supposed &fname is the filename available in...
I supposed &fname is the filename available in your local disk. In Unix we can able to create a file using any meta characters except / and \0.

This is only I guess I am not sure!!
1,772
Posted By jatanig
Need explanation on Anonymous hash in PERL!!
Hi,

I have doubt regarding the Anonymous hash. For creating a object we are generally using Anonymous hash.
My Doubt is:
Why we are only using Anonymous hash?? Instead of Anonymous hash can we...
7,824
Posted By jatanig
Thanks !!! Really appreciate the immediate...
Thanks !!!
Really appreciate the immediate response..
7,824
Posted By jatanig
Difference between use vars and our variable in PERL
What is the difference between defining the global variable through our and using use vars ?
Is the variable created using our goes beyond even package scope?
Thanks in Advance !!!
2,088
Posted By jatanig
Thanks Chris . Alternate solution:...
Thanks Chris .

Alternate solution: $str=~s/\sNOT\s("[a-z]*\s*[a-z]*|[a-z]*)//g;
24,650
Posted By jatanig
One more Solution: open(FH, "<file1"); ...
One more Solution:

open(FH, "<file1");
@a=<FH>;
$b=$#a;
for ($n=0;$n<$b;$n++)
{

if ($a[$n]=~/ERROR/)
{
foreach $_ ( @a[$n..($n+10)])
{
...
59,341
Posted By jatanig
If u want to get the literally value of $count...
If u want to get the literally value of $count and $last, then use double codes (" ") instead of single codes (' ') in code.
59,341
Posted By jatanig
try this
$\="\n";
open ( FH,">jas");
print FH '$count';
print FH '$last';
close(FH);
Showing results 1 to 21 of 21

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