Search Results

Search: Posts Made By: puneetkanchi
1,130
Posted By puneetkanchi
Help needed in perl; moving or copying the variables
Hi All,

I have a perl script blc.pl; i have five variables a,b,c,d and e in this script.
Now I want to copy the values of these variables into a data file,say abc.dat.. Can anybody please tell...
2,044
Posted By puneetkanchi
What does this script do?
Hi,

Can somebody here please explain to me what each line in the below sript does?
#!/usr/bin/perl

local ($buffer, @pairs, $pair, $name, $value, %FORM);
# Read in text
...
1,195
Posted By puneetkanchi
hi yazu, thanks for the reply. I want...
hi yazu,

thanks for the reply.

I want to know how to write a script which refers to the existing abc.pl script and fetches the values of the variables assigned in abc.pl

Thanks again..
1,195
Posted By puneetkanchi
help with fetching the values from perlscript
Hi,

I have a perl script abc.pl..
#!/usr/bin/perl

local ($buffer, @pairs, $pair, $name, $value, %FORM);
# Read in text
$ENV{'REQUEST_METHOD'} =~ tr/a-z/A-Z/;
if...
1,901
Posted By puneetkanchi
hi aman23, thanks a ton.. it worked.. got...
hi aman23,

thanks a ton.. it worked.. got the required output..

will this same code work if the xml is not line by line. I mean if the xml is like below:
<RequestBillsRsp...
1,901
Posted By puneetkanchi
hi again, am running the code on this : #...
hi again,

am running the code on this :
# uname -a
SunOS tc95air3 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-FireV-245
1,901
Posted By puneetkanchi
hi Palanisvr, thanks for the reply.. my...
hi Palanisvr,
thanks for the reply..

my script is like this as u said:
#!/bin/sh
cat test.txt | awk -F '>' '{print $2}' | awk -F '<' '{ if ( $2 == "" ) print "0";else print $1 }' ...
1,901
Posted By puneetkanchi
Thanks Ahmed.. But am getting this error : awk:...
Thanks Ahmed.. But am getting this error :
awk: syntax error near line 1
1,901
Posted By puneetkanchi
Help reqd in shell scripting..
Hi guys,
I am new to shell scripting and I need urgent assistance.
I have an xml like :
<AgreementNumberFull>13-WY-84252</AgreementNumberFull>
<AgreementNumberAbbr>WY84252</AgreementNumberAbbr>...
Showing results 1 to 9 of 9

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