Search Results

Search: Posts Made By: smarty86
11,379
Posted By smarty86
Thanks Kamaraj.. working fine :) ----------...
Thanks Kamaraj.. working fine :)

---------- Post updated 05-04-12 at 07:39 AM ---------- Previous update was 05-03-12 at 11:33 PM ----------



Hi I have a small problem here...

the above...
11,379
Posted By smarty86
Add a space between certain characters Using Perl Scripting
Hello All,

I have a variable which is having values like this..

$var=A,B,C,D,E,F,G,H

I want to add space after every three alphabets so that my final variable should look like this..
...
15,899
Posted By smarty86
nice one itkamaraj
nice one itkamaraj
15,899
Posted By smarty86
hi bala, thanks for your quick reply... ...
hi bala,

thanks for your quick reply...

if my variable is $date then how to use this... i am beginner in perl. pls help

---------- Post updated at 02:53 AM ---------- Previous update was...
15,899
Posted By smarty86
Validating date in yyyymmdd format using PERL
Hi all,


i had a code where in user will enter a date in yyyymmdd format.. i didnt use any validation for the date and now the problem is if a user enters date instead of month after year it is...
16,591
Posted By smarty86
hi birei, the code looks good.. but can we...
hi birei,

the code looks good.. but can we have something like.. if we gave 10 characters maximum in first columns.. it should take a space before that and full word should go to next line......
16,591
Posted By smarty86
hi praveen and others.. whatever u told...
hi praveen and others..

whatever u told above was ok but now the problem is i need to check only in 1st column and only if the characters exceeds 36 then it should go to next line in the same...
16,591
Posted By smarty86
Thanks buddy working as expected... thanks...
Thanks buddy working as expected... thanks again.. u guys are very helpful :)
16,591
Posted By smarty86
Thanks buddy.. This is working great,.. Now...
Thanks buddy.. This is working great,..

Now if I want to limit no. of characters in first columns to somevalue and if it exceeds that many characters then it should go to next line.. how can i do...
16,591
Posted By smarty86
Aligning columns in a text file using Perl
Hi All,

I am new to perl and was trying to write a simple program which will generate a text file as output..

now the output which i am getting is something like this..

...
1,807
Posted By smarty86
yes working fine... thank you Franklin and Anurag
yes working fine... thank you Franklin and Anurag
1,807
Posted By smarty86
after the first iteration when i try to run the...
after the first iteration when i try to run the script again it shows the last like is P100P101
1,807
Posted By smarty86
Increasing a number and appending it to next line of a text file
Hi all,

I have text file having a number P100. what i need is when i run a script, it should add 1 to the above number and append it to the next line of a same text file.. when i use the script...
16,551
Posted By smarty86
Thanks for all your reply... double quotes has...
Thanks for all your reply... double quotes has solved my issue... Thanks again..
16,551
Posted By smarty86
Subject line of an email
Hi all,

I am trying to automate a process in which at the end of the process the script should send an email to the user saying this process is completed.

I have done everything but the problem...
70,539
Posted By smarty86
can i run that script in windows? if yes can you...
can i run that script in windows? if yes can you give me the link to download perl for windows having DATE::Calc command please

---------- Post updated at 09:15 AM ---------- Previous update was...
70,539
Posted By smarty86
I cant do that since it is office system :( any...
I cant do that since it is office system :( any other alternative?
70,539
Posted By smarty86
this is what the error i got when i tried to test...
this is what the error i got when i tried to test the above perl script

perl timediff.pl "1/2/2010 10:11:12" "1/1/2010 15:16:17"
Can't locate Date/Calc.pm in @INC (@INC contains:...
70,539
Posted By smarty86
Hi all, Thank you very much for all your...
Hi all,

Thank you very much for all your reply's.

I am using unix HP-UX machine for this..

can i use the above perl script in HP UX m/c? do i need to do any modification?
70,539
Posted By smarty86
frans, Thanks for your reply. But its...
frans,

Thanks for your reply.

But its not working for me.. I am not that good at shell scripting.. I am a beginner in this.

at first when i run that function script i got the below error..
...
70,539
Posted By smarty86
How to calculate time difference between start and end time of a process!
Hello All,

I have a problem calculating the time difference between start and end timings...!

the timings are given by 24hr format..

Start Date : 08/05/10 12:55
End Date :...
7,651
Posted By smarty86
now i have deleted all the mails which were there...
now i have deleted all the mails which were there in the my unix.. but still my mails are not going... i mean those text files which are having more than 85 lines i am unable to send it.. :(
4,037
Posted By smarty86
yes sorry for that . I have just seen windows and...
yes sorry for that . I have just seen windows and dos issues and opened a thread with my problem...
7,651
Posted By smarty86
that is the one which i tried before without...
that is the one which i tried before without ()... before i was getting mail without any prob with the same script...
7,651
Posted By smarty86
tried.. but didnot get the mail :(
tried.. but didnot get the mail :(
Showing results 1 to 25 of 88

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