Re: generate line number in log files

Erik Christiansen <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <20130505115657.GB1901@ratatosk>
On 04.05.13 17:10, Eric Smith wrote:
> 
> Is there any method for having line numbers and script filenames
> printed in the procmail log files.

Line numbers only need to be visible when the file is viewed by a human,
I figure. So, if you're viewing the file in vim:

:set number

That covers the use cases that my imagination offers up.

Erik

-- 
Mollison's Bureaucracy Hypothesis:
   If an idea can survive a bureaucratic review and be implemented
   it wasn't worth doing.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.