Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How do I print instead of the following lines :
this output : (?)2000/06/19 15:22:13 NIB1_BSX Communications Alarm + Critical OMC and equipment Connection broken <tag> 2000/06/19 15:22:15 NIB1_MSC Communications Alarm + Critical OMC and equipment Connection broken and up<tag> 2000/06/19 16:03:25 [1]NIB1_MSC.0.0.3.0 Communications Alarm + Minor E1 Port Receive Carrier Loss <tag>
i.e., I want the last field to be only 17 letters long.2000/06/19 15:22:13 NIB1_BSX Communications Alarm + Critical OMC and equipment<tag> 2000/06/19 15:22:15 NIB1_MSC Communications Alarm + Critical OMC and equipment<tag> 2000/06/19 16:03:25 [1]NIB1_MSC.0.0.3.0 Communications Alarm + Minor E1 Port Receive C<tag>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I print only some letters of this string
by nuance (Hermit) on Jun 21, 2000 at 16:38 UTC | |
Re: How do I print only some letters of this string
by jlistf (Monk) on Jun 21, 2000 at 18:04 UTC | |
by nuance (Hermit) on Jun 21, 2000 at 19:39 UTC | |
by jlistf (Monk) on Jun 21, 2000 at 19:58 UTC | |
Re: How do I print only some letters of this string
by draco_iii (Acolyte) on Jun 23, 2000 at 17:18 UTC | |
Re: How do I print only some letters of this string
by Roy Johnson (Monsignor) on Nov 03, 2003 at 21:53 UTC |
Back to
Seekers of Perl Wisdom