Search Results

Search: Posts Made By: harpal singh
2,656
Posted By harpal singh
Thanks a lot ..it worked :):)
Thanks a lot ..it worked :):)
2,656
Posted By harpal singh
Complex calulation in shell script
Hi ,

I need one help to do some complex calculation in shell script.
here is what i need to do:-
a=2
b=2
c=2
d=2
result=a+(b/(20*c))+(c/(10*d))

is there any thing special there so that...
2,931
Posted By harpal singh
Thanks a lot for replying DGPickett. In...
Thanks a lot for replying DGPickett.


In my case i need to changed input xml file and then move it to other location.

Here copy of input file is not allowed.


In input file <attr...
2,931
Posted By harpal singh
How to find a word and move it a specific location in xml file using perl?
Hi friends,

I have one XML file having below structure :-

INput XML file :-
<?xml version="1.0" encoding="UTF-8"?>
<START>
<A=value1>
<attr name1="a1">
</A>
<B=value2>
<attr...
2,133
Posted By harpal singh
Thanks Balajesuri for your help. But why my code...
Thanks Balajesuri for your help. But why my code was showing error? can you please explain a bit.?
I would like to add one more thing in my code which i have pasted eariler `<some...
2,133
Posted By harpal singh
Getting Command not found error Even though Script is working fine
Hi friends,

I am using below script to do some work. But even though script is working fine but while executing it i am getting command not found error. :(

Here is the script :-
#!/bin/sh...
1,604
Posted By harpal singh
Thanks for your time friend. Here are the...
Thanks for your time friend.
Here are the answers for your question:-
1. Exact requirement is that i am listing output(how many files are there with timestamp) of specified directories in a...
1,604
Posted By harpal singh
Printing a message in file without opening it in perl
Hello friends,

i have a perl script as below ...

for (0 ..$#values)
{

##want to print some message here in Report.txt file

print `find /abc/xyz/pqr/$values[$a]" -type f -ls` >>...
3,100
Posted By harpal singh
i tried with type -l but its not working. So i...
i tried with type -l but its not working. So i tried with
find . -type l -print | xargs ls -ld its working...thnks anyway for ur time :)
3,100
Posted By harpal singh
Thanks a lot it worked... :) ...but now same...
Thanks a lot it worked... :) ...but now same thing i am trying to list out all the symbolic links...but it's not working...can you please give any idea..because same command is working for actual...
3,100
Posted By harpal singh
Thanks a lot..but after getting output of this...
Thanks a lot..but after getting output of this find "/abc/xyz/pqr/$INPUTDIR" -type f ..i want to list all the files availble in that particular direcotry with time stamp.

Can you please also...
3,100
Posted By harpal singh
Specific directory parsing in a directory tree
Hi friends,

Hello again :)

i got stuck in problem. Is there any way to get a special directory from directory tree?
Here is my problm.." Suppose i have one fix directory structure...
Forum: Programming 03-06-2012
1,151
Posted By harpal singh
Thanks a lot ... :) it worked...:)
Thanks a lot ... :) it worked...:)
Forum: Programming 03-06-2012
1,151
Posted By harpal singh
Unable to get substring from a string in perl
Hello friends,

I have one string "Absoulte_Markup_XYZ.xml" . I am trying to get XYZ in a variable but not able to :(
Here please note that "XYZ" can be "XYZABC" or "XYZPQR"...i mean to say its...
1,321
Posted By harpal singh
Thanks again to explain in detail. Yes i...
Thanks again to explain in detail.
Yes i tried this also @array = <FILE> and you are absolutely right,mine file is large having so many configurable parameters.
I also tried the second method...
1,321
Posted By harpal singh
Thanks a lot balajesuri...it worked. :)..but can...
Thanks a lot balajesuri...it worked. :)..but can you please tell me whats happening in my case...
1,321
Posted By harpal singh
unable to return multilple values in perl
hello friends,

i have written one perl script.Which opens a file and search for some parameter's value and gets the status of these parameters. but while i am trying to return these value always i...
Showing results 1 to 17 of 17

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