Search Results

Search: Posts Made By: bhagya2340
3,722
Posted By bhagya2340
Well you are right by having double codes (") it...
Well you are right by having double codes (") it worked and i am not having the error meaage anymore... but now i am geting the else mail twice... i should only get once...
3,722
Posted By bhagya2340
Test: argument expected.
Hi,
Since i am new to Unix and on suggestion on some smart guys on unix... i have decide to learn more deeply on Unix...so i was kind of playing with if statements and found this error... though i...
2,926
Posted By bhagya2340
Then how should i make it universal... like in...
Then how should i make it universal... like in this case n136075 is my id... when i run the script n136075 come... if someone else run it then there id will be comming... how to slove this problem
2,926
Posted By bhagya2340
Thanks it worked... In case to learn a little...
Thanks it worked... In case to learn a little more i have tired this
sed 's#/users/*/tmpdata/##' final.out >> result.out
But it dint work... can i know why... i thougt * means anything.. is this...
2,926
Posted By bhagya2340
I am sorry... i know you are trying to help me......
I am sorry... i know you are trying to help me... but i dont have any knowledge on Unix...
2,926
Posted By bhagya2340
All thease lines are in a file... and they are...
All thease lines are in a file... and they are about 10000... you dont expect me to write for each line.....and the data changes... i mean everything after /users/n136085/tmpdata/ changes
for...
2,926
Posted By bhagya2340
Help with Output file
Hi,

I need some help in correcting my output file.... I have a file called final.out

/users/n136085/tmpdata/ELIG_Group_20090203.dat:0008106878903 0810687200076KM HMO, MCII, & QPOS...
1,374
Posted By bhagya2340
Is host_name is my unix box.... and host_dest is...
Is host_name is my unix box.... and host_dest is my windows server.... i just ave some confusion...
and what is verbosity

Thanks!
1,374
Posted By bhagya2340
Help on FTP
Hi,

I am some help in understaing FTP,
I ahve two server Unix Box and Windows 2003... and they have FTP in them actively working... i want to FTP a file from Unix to windows
I am came till here...
16,129
Posted By bhagya2340
Thanks a lot for helping me Bhagya
Thanks a lot for helping me

Bhagya
3,924
Posted By bhagya2340
I made few changes and i got the result as i...
I made few changes and i got the result as i want.... Thanks a lot for being there for me
16,129
Posted By bhagya2340
Remove blank spaces in a text file...
Hi,
I have this problem that there are blank spaces in my text file... i want to remove them

line 1
line 2

line 3

I want to remove the space between line 2 and line 3... I tried sed... it...
3,924
Posted By bhagya2340
The code you gave almost work but there one...
The code you gave almost work but there one problem....
i added appened and then to if and the code is like this....

read.ksh `basename ${0}` $1 $2 ${CUR_MAINT_DATE} > runtime.out
tr -d '\n' <...
34,403
Posted By bhagya2340
I do have a same kind of problem.... i have 2...
I do have a same kind of problem.... i have 2 files time.out and finaltime.out
finaltime.out

.
.
.
20090124,00:02:26,00:04:19,86752,00:01:37,00:02:50,01:07:52,150818, ,...
3,924
Posted By bhagya2340
I took your point to note and i did little home...
I took your point to note and i did little home work.... Comm command compares 2 files... i just dont want comparsion.... actually what i want is replacing....
ie for example... in time.out file...
3,924
Posted By bhagya2340
That really nice of you... thanks a lot... I...
That really nice of you... thanks a lot...
I dont mind adding another tem file in between runtime.out and time.out if that will slove the problem... I just want some solution this as i have to...
3,924
Posted By bhagya2340
Yes you are missing something that... time.out...
Yes you are missing something that... time.out file is very old file and it have data form past 5 years... so it have to be the final file and the reason i have used this code is
echo >> time.out;...
3,924
Posted By bhagya2340
I am sorry to say but i dint understand...
I am sorry to say but i dint understand anything....

I dont want to compare file and remove duplicates....i want to cheack if that pattern is already present in the file then remove it and replace...
3,924
Posted By bhagya2340
Replacing data of output file with input
Hi,

I have a ksh which peocess and get me data from 3 days...
ie if i process it on jan 28.. it gets data for 25, 26 and 27.... the process run every day and get previous 3 days data...all this...
7,583
Posted By bhagya2340
Help with While loop in KSH
Hi,
I want to write a while loop like this can any one say me whats wrong with my loop


USAGE="Usage: Mail.ksh"
integer i=3
while ((1<i<=3))
do
.
.
.
.
(( CMD_JUL = LSD_JUL - i ))...
4,079
Posted By bhagya2340
Thanks... but organally it was written by...
Thanks... but organally it was written by someone... i bacially not a unix person... if i change in one ksh they will ask me to change on 65 more khs... i dont want to... let it be as it is till it...
4,079
Posted By bhagya2340
mail.ksh is going to be kept in cron so i cant...
mail.ksh is going to be kept in cron so i cant give the data from out side... i want something like a for loop...
where in code i will give some x=3 so the loop starts two days back calculates date...
4,079
Posted By bhagya2340
Help to get date
Hi,

I need some help... i mean can someone give some idea on how to implement what i want to do...

I have script called Mail.ksh which calls another script called read.ksh. read.ksh appends...
3,215
Posted By bhagya2340
No you dint follow... Mail.ksh calls Read.ksh the...
No you dint follow... Mail.ksh calls Read.ksh the output of read.ksh is written to Runtime.out... in runtime.out i am getting data in downwards... so i wrote your code and transfered the runtime.out...
3,215
Posted By bhagya2340
Ok... i agree... and thanks a lot... But i have...
Ok... i agree... and thanks a lot... But i have another problem with this...

Mail.ksh is runed on daily bases... in a day Read.ksh runs like 20 time with different file name and gets the out put...
Showing results 1 to 25 of 61

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