Re: [foxboro] Parsing dedit output

  • From: Greg Hurwitt <gregory.hurwitt@xxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Wed, 12 Apr 2017 14:26:08 +0000

A simple awk script will do exactly what you want.  Can probably be done in one 
or two lines of awk code.  Unfortunately, it's been too long since I've worked 
with awk for me to give you further guidance.  I imagine you can still find awk 
references on line.
Greg Hurwitt
BASF Corporation, Houston, TX 77079, USA

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On ;
Behalf Of QUEIROLO, IGNACIO ESTEBAN
Sent: Thursday, April 06, 2017 9:52 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Parsing dedit output

Unix Folks,
I have the following line from an output of the dedit command:

170 RECT  68,5%   Execute             0
    ov_conn -cb MOLEX:67TC068. -file /opt/cie/gov/ov_pid 1 -sticky

And I need this:

170 RECT  68,5%   Execute             0    ov_conn -cb MOLEX:67TC068. -file 
/opt/cie/gov/ov_pid 1 -sticky

How can I append or combine two lines where dedit splited them into two?

Thanks


 
 
_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company).  Use the info you obtain here at your own
risks.  See the disclaimer at www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:               //www.freelists.org/list/foxboro
to subscribe:           mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:        mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: