Re: [squid-users] OT: Removing unused lines

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Sat, 22 Mar 2008 06:39:14 +0100

sed '/^$/d;/^\s*#/d' squid.conf

Find many useful sed one-liners here
http://student.northpark.edu/pemente/sed/sed1line.txt

-- 
Andreas
On lör, 2008-03-22 at 11:34 +0800, Wong wrote:
> Need advise how to remove unused lines in squid.conf such as remarked 
> (commented) or no character lines, by using Linux utility (sed and strip?).
Received on Fri Mar 21 2008 - 23:39:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT