Loading ...
Sorry, an error occurred while loading the content.
 

Re: How to check if I have lines with different length in a database extract

Expand Messages
  • Charles E. Campbell, Jr.
    ... will display all lines that don t have 74 characters in them. I just picked 74 out of the air, of course -- adjust it to whatever you need. Regards, Chip
    Message 1 of 9 , Nov 2, 2005
      sanjeev.g.sapre@... wrote:

      >...Each type of file has some fixed length of a line. Before we can pass on
      >this file for further processing I would like to check that all lines are
      >of equal length. Is there a simple way /pattern by which I can identify
      >lines with differing length.
      >
      >
      :v/^.*\%74c.$/p

      will display all lines that don't have 74 characters in them. I just
      picked 74 out of the air, of course -- adjust it to whatever you need.

      Regards,
      Chip Campbell
    Your message has been successfully submitted and would be delivered to recipients shortly.