Search Results

Search: Posts Made By: jaganadh
2,209
Posted By jaganadh
Perl to Python
Friends
How to convert this perl notation to Python

${$$hashptr{$sys_Id}}{$doc_Id} = $docstr;

Jagan
1,828
Posted By jaganadh
friends I tried the following ay = re.match(r'...
friends I tried the following
ay = re.match(r' doc_ID=\"(.*?)\".*sys_ID=\"(.*?)\" ', b)
doc_ID = ay.group(1)
print doc_ID

but it shows the following error

doc_ID = ay.group(1)...
1,828
Posted By jaganadh
help to convert
how to convert this perl expression to Python
while (<FIL>) {
s/[\n\r]+/ /g;
if (/<DOC\s+doc_ID=\"(.*?)\".*sys_ID=\"(.*?)\"/i) { #"
${$$hashptr{$sys_Id}}{$doc_Id} = $docstr; #
...
3,923
Posted By jaganadh
Perl style i++ in Python
friends
Is it possible to implement perl style autoincriment in python?
e.g

i++
How it can be represented in python


Jagan
3,319
Posted By jaganadh
]# file /usr/lib/libdb.so.3 ...
]# file /usr/lib/libdb.so.3
/usr/lib/libdb.so.3: ELF 32-bit LSB shared object, ARM, version 1, stripped
3,319
Posted By jaganadh
-rwxr-xr-x 1 root root 274556 2008-02-22 20:01...
-rwxr-xr-x 1 root root 274556 2008-02-22 20:01 /usr/lib/libdb.so.3
3,319
Posted By jaganadh
python probelm
Colleagues
when i types python in console my system shows following error message
python: error while loading shared libraries: /usr/lib/libdb.so.3: ELF file OS ABI invalid
Any solution.
My...
2,152
Posted By jaganadh
Collegue Thank you for your kind advice and...
Collegue
Thank you for your kind advice and guidence. I solved the peroblem. My code is given below..
$parse = @ARGV[0];
open(DATA,"+<file") || die ("failed to open");
@files = <DATA>;
foreach...
2,152
Posted By jaganadh
Friend I will tell it 1) Read command line...
Friend
I will tell it
1) Read command line argument (for the given Perl script). ( Command Line argument will be a file name)
2) Check existence of the file name in "file" . That i tried to do...
2,152
Posted By jaganadh
Perl script help URGENT???
Friends
I generated a code too read a list if names from file and store it in array. The file contains names of some files. like
a.txt
b.txt
c.txt ........
while I am running the script and...
2,141
Posted By jaganadh
pass each elements in array to ssytem command
Collegues
How can I pass each elements of an array to a system command ?
This is the current code which am using.
#!/usr/bin/perl
foreach $file (@ARGV[0]) {
open(FILE, $file) || die "Cant...
2,025
Posted By jaganadh
Is the script correct ???
Dear Collegues is the below given is correct ?

#!/usr/bin/perl
$a = @ARGV[0];
while ($a = @ARGV) {
exec "./jagan ../dat/ml_in @ARGV[0]";

}

Jagan
4,618
Posted By jaganadh
Thank you very much for this valuable information...
Thank you very much for this valuable information

With warm regards

Jagan
4,618
Posted By jaganadh
awk to perl convert
Dear Collegue
Do anybody help me to convert this AWK script to Perl script

{
for (i = 2; i <= length ($0); i++) {
x = substr($0, i , 1)
if (c > 0) {
...
5,694
Posted By jaganadh
from the sentence i have to get Center for Perl...
from the sentence i have to get Center for Perl Studies only.
Sequences like Center for Perl Studies
Jaganadh G
5,694
Posted By jaganadh
sequence : any sequence of Cpital letter e.g name...
sequence : any sequence of Cpital letter e.g name of companies etc and abbriviations.
I have to extract Name of Companies and Abbriviations from a text using perl

Jaganadh G
5,694
Posted By jaganadh
Extract Pattern Sequence
Dear Collegues
I have to extract Some pattern from raw text file using perl

The input will be raw text.
Pattern to get - Sequence of Capital Letter Words ( e.g. he is working in Center for Perl...
4,431
Posted By jaganadh
Collegues Thank you for the kind reply and...
Collegues
Thank you for the kind reply and solutions.

Jaganadh.G
Linguist
4,431
Posted By jaganadh
I tried it but failed .
I tried it but failed .
4,431
Posted By jaganadh
embeding awk script in perl program
Collegues
I have an AWK script like the following.
{
if ($2 ~ /JJ/ && $4 ~ /IN/)
{
print $2, $3, $4, $5
}
}
How can I embed it in a perl program.

Jaganadh.G
3,161
Posted By jaganadh
executing shell file in jva + tomcat
Colleagues,

i have an jsp application which uses a servlet for controlling the request. the servlet uses a java class that will invoke a shell script. when i involked a shell script using java's...
Forum: Linux 10-16-2007
2,363
Posted By jaganadh
ICU Java
Collegues
Rendering of my language in Java is not proper. I have created a patch for ICU. How can I integrate the patch to Jdk1.5.0_09 or Jre. Which .so file I have to replace for it .

With warm...
Forum: Programming 07-24-2007
37,262
Posted By jaganadh
array type has incomplete element type
Dear colleagues,
One of my friend have a problem with c code. While compiling a c program it displays a message like
"array type has incomplete element type". Any body can provide a solution for...
2,322
Posted By jaganadh
read from folder
Collegues
I have a number of files in a folder.
Each file I would like to exicute one shell script .
How to do it in shell
With tanks and regards
Jaganadh.G
7,452
Posted By jaganadh
excately . Thanks a lot. I am conducting some...
excately .
Thanks a lot.
I am conducting some study on the Behavior of English language. I prepared this program to get some data.
I got excta solution
Thanks lot
Jaganadh.G
Linguist
Showing results 1 to 25 of 32

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