Search Results

Search: Posts Made By: sanjay singh
8,151
Posted By sanjay singh
Thanks dear!!! :) It works for me. :b: you are...
Thanks dear!!! :)
It works for me. :b: you are realy addict. ;)

I would like to know web page/ material which i can refer to learnt the SED Step-by-Step,with proper explanation, as I couldnt...
8,151
Posted By sanjay singh
If you get how it can be done using SED, then it...
If you get how it can be done using SED, then it will be nice to me. I m running the SED in UNIX environment. no idea about solaris. :(
8,151
Posted By sanjay singh
This is some sample data of my file. <EQROW...
This is some sample data of my file.
<EQROW CHG="U" KEY="22" ><EFFECT EFFRG="00122323"></EFFECT>
<EIN> 14XE </EIN>
<PARTDESC>ANN EMER ELECPWR/RAT/
&amp;
/EMER...
8,151
Posted By sanjay singh
Dear Radoulov, When I m...
Dear Radoulov,
When I m doign generalization for other special character also, it giving me trouble.
When I add it for lines having &lt; character

...
8,151
Posted By sanjay singh
Thanks again for your valuable advice. :) It...
Thanks again for your valuable advice. :)
It solved my problem. :b:

I have generalized this as for all the tags:

/^<[^\/]/{N;N;s/\n&amp;\n\([^<]*\)/\&amp;\1/;}


So that it should work for any tag...
8,151
Posted By sanjay singh
SED script help needed
Thanks a lot Radoulov. :)
it works fine for my requirement. One more update I want in that, when changing

<PARTDESC>CIRCUIT BREAKER LIGHTING/EXT LT/NAV2/
&amp;
LOGO</PARTDESC>


to ...
8,151
Posted By sanjay singh
SED script help needed
I tried with your suggestion but i m getting the following error message:-
I m running sed command stored in one file. I write the one suggested with you as-

1. When i put the script:
...
8,151
Posted By sanjay singh
SED command help
Hi All,
I want to convert the following tag using SED command-

<PARTDESC>CIRCUIT BREAKER LIGHTING/EXT LT/NAV2/
&amp;
LOGO</PARTDESC>

into something like-
...
Showing results 1 to 8 of 8

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