some stupid questions about string search & replace in perl

W

walala

John W. Krahn said:
Did you try it?

Yeh, I tried, but the result is a little off:

I want the "+" to be on the same line as AS=... ... so there should be
some words after "+" symbol...

Can you tell me how to fix that?

Thanks a lot!

----------------------------------------------------------------


_INST410995 _NET12570 _NET12480 VDD! VDD! PCH W=2E-06 L=2.4E-07
+
AS=7.12E-13 AD=1.1632E-12 PS=9.8E-07 PD=3.36E-06 NRD=1U/2E-06
+
NRS=1U/2E-06 M=1

_INST410996 _NET27291 _NET756 VDD! VDD! PCH W=2E-06 L=2.4E-07
+
AS=1.36E-12 AD=5E-13 PS=3.36E-06 PD=5E-07 NRD=1U/2E-06
+
NRS=1U/2E-06 M=1
 
J

John W. Krahn

walala said:
Yeh, I tried, but the result is a little off:

I want the "+" to be on the same line as AS=... ... so there should be
some words after "+" symbol...

Can you tell me how to fix that?

----------------------------------------------------------------

_INST410995 _NET12570 _NET12480 VDD! VDD! PCH W=2E-06 L=2.4E-07
+
AS=7.12E-13 AD=1.1632E-12 PS=9.8E-07 PD=3.36E-06 NRD=1U/2E-06
+
NRS=1U/2E-06 M=1

_INST410996 _NET27291 _NET756 VDD! VDD! PCH W=2E-06 L=2.4E-07
+
AS=1.36E-12 AD=5E-13 PS=3.36E-06 PD=5E-07 NRD=1U/2E-06
+
NRS=1U/2E-06 M=1

You are going to have to copy and paste the actual code you tried
because it worked just fine for me.


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top