Search Results

Search: Posts Made By: kedar_laveti
1,917
Posted By kedar_laveti
Subbeh, I think u r a gem in Perl and unix,...
Subbeh,

I think u r a gem in Perl and unix, the result was as expected.
If u dont mind, can you please explain the code.

And plz let me know if it is possible to do using sed

Thanks
1,917
Posted By kedar_laveti
Thanks for the help, but I dont have much idea...
Thanks for the help, but I dont have much idea about perl.
I am finding it difficult when the line is as shown below:

<TRANSFORMFIELD LKP.LKP_GID_ERROR_LOOKUPS(&apos;P3_TRN_AMT_ZERO&apos;),2,...
1,917
Posted By kedar_laveti
Print mutliple patterns in a line using sed
Hi,

I am trying to print multiple patterns in a line using sed. But it is printing only the last occurance of a pattern.

If the line is
the the output should be
Lookup Procedure|Stored proc...
2,701
Posted By kedar_laveti
Hi, When I type the command svn --version it...
Hi,
When I type the command svn --version it says "command not found". Does that mean that SVN is not instaleed in unix. I am sure that SVN is installed in my machine.

After installing SVN,...
2,701
Posted By kedar_laveti
Login to svn from UNIX
Hi

Can anyone please tell me about how to connect to SVN from unix

Thanks
2,096
Posted By kedar_laveti
Thanks Corona and Rudi, Your suggestions...
Thanks Corona and Rudi,

Your suggestions helped me a lot. I got the idea to read the xml tags.
2,096
Posted By kedar_laveti
Hi Corona, Thank you so much, the code was...
Hi Corona,

Thank you so much, the code was very helpful.
set-- is printing the attributes of the tag, is it possible to put the result of set-- into a variable?

Or is it possible to display...
2,096
Posted By kedar_laveti
How do we take the input file in the above and...
How do we take the input file in the above and How to capture the xml tag attribute value into variable in shell script??
2,096
Posted By kedar_laveti
Reading xml tags from ksh script
Hi,

I have an XMl file, below is sample:
<TRANSFORMATION DESCRIPTION ="Created by:- " NAME ="LKP_FT_T_FILEK" OBJECTVERSION ="1" REUSABLE ="YES" TYPE ="Lookup Procedure" VERSIONNUMBER ="1">...
1,747
Posted By kedar_laveti
Print column header
Hi,

Below is the data in a tab limited file



Here ACCENT is just a heading and the line starting with Pcode has the column headers, and there is a 2 lines space between the file header and...
2,300
Posted By kedar_laveti
If the column header is in first line then the...
If the column header is in first line then the code works, otherwise it is printing the result as 1, whereas the column header is in line 4
2,300
Posted By kedar_laveti
no, its not like that, it keeps changing from...
no, its not like that, it keeps changing from file to file, some times the column header comes in the 1st line itself and sometimes in the line 2 or 3 and so on...
2,300
Posted By kedar_laveti
here the column header is so I want to get...
here the column header is

so I want to get the line number that contains the header, it should be generic

Thanks
2,300
Posted By kedar_laveti
Get line number in flat file
Hi,

Is there a way to find out the line number from where the data starts?
like if the data contains column header, irrespective of the text in the column header we should get the line number...
3,400
Posted By kedar_laveti
Wow!! That worked Thank you very much :)
Wow!! That worked

Thank you very much :)
3,400
Posted By kedar_laveti
Hi, Thanks the below code worked ...
Hi,

Thanks the below code worked



But a new file came and it looks like below



When I tried the code , it prints the first line ACCENT_INPUT, can anyone plz let me know if there is any...
3,400
Posted By kedar_laveti
Hi, Below are 3 sample files' data KAG ...
Hi,

Below are 3 sample files' data
KAG IGIN WPN WP-Name KOP-Nmr KOP-Name (starts from 1st row)
121 L04760746 9414 Growth...
3,400
Posted By kedar_laveti
Hi, Below is a sample record of my input...
Hi,

Below is a sample record of my input file

Pcode Dealer Name Comp INF Date Year
TN16 9BE Ambrose Fisher Ltd Franklin UK Mid Cap Fund A Inc GBP GB00B3ZGH246 ...
3,400
Posted By kedar_laveti
Reading column header
Hi,

I have some 10 tab delimited flat files, for some files the column header starts from 1st row whereas for some other files the column header starts from row or row 3 or row4 and so on....
...
Showing results 1 to 19 of 19

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