TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: `DAVE GUYER`
date: 1997-09-02 13:02:00
subject: find lines 80 char

From: "Dave Guyer" 
I find I spend more time doing code reviews than I'd like.  Much of 
it is spent on programming style issues.  So I am currently working 
on a macro to search for these problems.  For many of them, I return 
a compressed view of the find results that I can edit then print.
I'm stumped on one.  How can I use compressed view to return line 
numbers and their length for all lines in the file longer than 80 
characters?  I haven't been able to figure out how to use find and a 
regular expression to return a compressed view of lines longer than 
80 characters, and if I could, I'm not sure how I'd get the length 
into the compressed view.
All ideas and suggestions will be gratefully accepted!  Thanks in 
advance.
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.