Search Results

Search: Posts Made By: ragilla
4,824
Posted By ragilla
Thanks all for your replies, but can any confirm...
Thanks all for your replies, but can any confirm that we cannot use multiple sed that is with -e option for selective text printing
4,824
Posted By ragilla
Yes if i use separate sed its working , but what...
Yes if i use separate sed its working , but what is the problem if i use with -e option
4,824
Posted By ragilla
sed -n option
Hi i am facing problem with sed -n option could you please help me on this, i have a file test the contents of the file is

width="75">10/0 4/12</td>^M><a href='courtorders/100412zr.pdf'...
Forum: Programming 03-14-2013
930
Posted By ragilla
Perl question
Hi,

please help me with below question

i am executing the below command from command line
perl -e '($hi)=glob("nosum*"); print "$hi"';

As i have nosum_website.sh file in current...
2,250
Posted By ragilla
Hi tyler_durden, Thanks for your reply, i...
Hi tyler_durden,

Thanks for your reply, i missed that.
I have one more question. i have code like below , i need to get the text between certain patterns , suppose i have below array

use...
2,250
Posted By ragilla
Hi Ranga, you misunderstood my question,...
Hi Ranga,

you misunderstood my question, i know the difference between map and grep.

i wanted to substitute "delivered to governor on 21/23/3345" with 21/23/3354 and "ram 2345/43" with...
2,250
Posted By ragilla
Perl regular expression
Hi ,

I have the below array
my @actionText = ("delivered to governor on 21/23/3345" , "deliver jllj" , "ram 2345/43");

When i am trying to grep the contents of array and if mathced...
1,319
Posted By ragilla
Perl : array of hashes help
Hi,

I have array of hashes and each key has array like below.

@array1 = (

{
'url' => [
't/uploads/2012/04/HB-177-Veto-Letter.pdf'...
1,266
Posted By ragilla
Hi Skrynesaver, but without dereferncing...
Hi Skrynesaver,

but without dereferncing the hash how this will work ${$data}{'2'} , So what i need to do in window to make this
print "hi : ${%$data}{'2'} \n"; statement work......
...
1,266
Posted By ragilla
Perl hash help
Hi ,

i have the below code its working fine when i execute in unix , but its not working in windows could you pls explain me where i am going wrong.

This is the program
$data = { '1' =>...
2,023
Posted By ragilla
Hi Scrutinzer, the OS which i am using is...
Hi Scrutinzer,

the OS which i am using is AIX, does the positional parameters depends on the OS.
2,023
Posted By ragilla
Thanks methyl..:b: As you said there was...
Thanks methyl..:b:

As you said there was one more script ... with same name in other directory..
as . is not in the path sh test.sh is executing that script... thanks i missed the simple...
2,023
Posted By ragilla
execution of a script
Hi

i have a small script like this

$ cat test.sh
#!/usr/bin/sh
name="ram"
echo ${1}
set 1 2 3 4 5 6 7 8 9 0 123 o870
echo $9
echo ${12}


when i am trying to execute like below i am...
2,002
Posted By ragilla
Thanks its working fine
Thanks its working fine
2,002
Posted By ragilla
Hi.. thanks for your reply but its not...
Hi.. thanks for your reply

but its not summing up , it showing some different values and some negative values ...below is the output

$ cat four
NCAS_IND_PORT_TS 4194304000 3892314112...
2,002
Posted By ragilla
Thanks.. Could you please explain me the...
Thanks..

Could you please explain me the code

and its not working also
$ cat four | awk '{ C2[$1] += C2; C3[$1] += C3; }
continue:END { for (x in C2) printf "%s\t%d\t%d\n", x, C2[x], C3[x];...
2,002
Posted By ragilla
awk help
Hi ,

I have one issue.
i have one file like data below.

NCAS_IND_PORT_TS 4194304000 3892314112
NCAS_IND_PORT_TS 4194304000 4160749568
NCAS_IND_PTP_TS 2097152000...
Showing results 1 to 17 of 17

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