Search Results

Search: Posts Made By: laxmi131
1,034
Posted By laxmi131
Handling the delimited file
Hi...I have delimited flat file

input---
custid,custname,loc
123,Ramkumar,Bangalore
678,Shyam,Mumbai
987,Raj,Kumar,Hyd

Need the output as follows
----------
custid,custname,loc...
5,327
Posted By laxmi131
Is ther any way or any command where we can get...
Is ther any way or any command where we can get the date like tuesday's date or monday's date for the current week
7,949
Posted By laxmi131
Hi, I need the answer in unix, The above is...
Hi,
I need the answer in unix,
The above is not working .

Thanks in advance
7,949
Posted By laxmi131
Can we get every tuesday or monday's date for the current week
Hi

Can we get every tuesday or monday's date for the current week ?

For the current week i need tuesday's date or monday's date in
%m%d%y fromat

Thanks
5,327
Posted By laxmi131
hi AS the file from which we FTP is mainframe...
hi
AS the file from which we FTP is mainframe server we cannot use any unix command like grep, tail, sort
Is ther any way where we can get the date like tuesday's date or monday's date for the...
5,327
Posted By laxmi131
Need command to pick the latest file
Hi
In my script i am trying to access mainframe server using FTP,
in the server i have filee with the timestamp.I need to get the file with the latest timestamp among them . The server has the...
13,054
Posted By laxmi131
trying to run this script from unix but the script is not successfull
Hi
I am trying to run the below unix script in informatica comamnd task
the script is in placed in the path (this script checks if the files are present in other server )...
18,695
Posted By laxmi131
error code 137 and error code 35072
Hi

while trying to run few scripts
/afs/ae.ge.com/informatica/ardw/dev/bin/cdw_ar_update_recvbal.sh
this script contains the below data
load_dir=/afs/ae.ge.com/informatica/ardw/dev/data...
32,860
Posted By laxmi131
a record which i mean is a line the file Eg :...
a record which i mean is a line the file
Eg :
i am searching for a pattern "abc" in a file say file1 .txt
cat file1.txt | grep "abc"
I need to display the row number of this line
thanks
32,860
Posted By laxmi131
To find the Row number
Hi

Can any one tell me what is the command to find out the row id or row number for a particular record

Thanks
sri
7,148
Posted By laxmi131
need to delete the sub folders
Hi

Is there any comand where in which we can check the time stamp of the sub folder created in one main folder and delete all the other subfolder which have been created one week before the...
3,934
Posted By laxmi131
thanks a lot its working
thanks a lot its working
3,934
Posted By laxmi131
Oh.. I am sorry. i would take care to use code...
Oh.. I am sorry. i would take care to use code tags when i post the code next time
3,934
Posted By laxmi131
this command worked but in the below...
this command worked

but in the below senario
1|ETG|63121387883|Alternate|Y
3|79.58|||GBP||
4|001137001
4|0011372
5|1021801
5|1021901
1|ETG|63121387884|Alternate|Y
3|79.58|||GBP||...
3,934
Posted By laxmi131
Hi Thanks a lot for the reply.. but...
Hi

Thanks a lot for the reply..
but unfortunately i am not geting the desider out put by executing the above command

I am getting the below error

/export/home/dstage/>awk '/^1/ {print ;...
3,934
Posted By laxmi131
Hi the command which u gave is inserting the...
Hi
the command which u gave is inserting the line 2||| after all the line starting with 1
but i need to insert this only inbetwen thoes lines where after line 1 line 3 is comming.

1|ETG|12345...
3,934
Posted By laxmi131
Inserting a line before the line which matches the patter
Hi

Is there any command where we can insert a line "2|||" before every line starting with "3|"

my input is as follows

1|ETG|12345
3|79.58|||GBP||
1|ETG|12345
3|79.58|||GBP||...
2,585
Posted By laxmi131
To remove the record from a file
Hi ,
In need to remove the record marked in red
My input is as below :
1|ETG|63121387883|Alternate|Y
2|||
3|79.58|||GBP||
4|001137001
4|0011372
5|1021701
5|1021901...
2,208
Posted By laxmi131
command to insert a record at a particular loaction
Hi,

Is there any command to insert a line in between two lines?

My input data is as below:
1|ETG|63121387883|Alternate|Y
3|79.58|||GBP||
4|001137001
4|0011372
5|1021701
5|1021901...
7,540
Posted By laxmi131
i have no idea in pearl, anyways I'll learn it...
i have no idea in pearl, anyways I'll learn it and get back to you if i am not able any part of the command .
I have another doubt
in the above command we are sorting the input file with one...
7,540
Posted By laxmi131
Yes i have tried the command and its working
Yes i have tried the command and its working
7,540
Posted By laxmi131
Hi radoulov, Thanks for the reply,but i am...
Hi radoulov,

Thanks for the reply,but i am not able to understand what the script is doing can you please expalin me .I am sorry i am new to unix hence unable to understand the above command
7,540
Posted By laxmi131
sorry my desired output is as below : ...
sorry my desired output is as below :
1|FIAT|0010103|113013|01/01/1996|31/12/9999|1.15
2|231|966|0
2|232|747|0
1|FIAT|0010103|123014|01/01/2000|31/12/9999|1.15
2|232|717|0
2|232|718|0...
7,540
Posted By laxmi131
sorry my desired output is as below : ...
sorry my desired output is as below :
1|FIAT|0010103|113013|01/01/1996|31/12/9999|1.15
2|231|966|0
2|232|747|0
1|FIAT|0010103|123014|01/01/2000|31/12/9999|1.15
2|232|717|0
2|232|718|0...
7,540
Posted By laxmi131
alphanumeric Sorting
Hi ,

I have a requirement where one column have to be sorted (delimiter is pipe)
for eg:
My input filed is as below
1|FIAT|0010103|23011|01/01/2000|31/12/9999|1.15
2|232|613|1
2|234|743|1...
Showing results 1 to 25 of 32

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