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

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 22 Mar 2008 13:09:17 +0900

cat squid.conf | grep -v ^# | grep -v ^$

adrian

On Sat, Mar 22, 2008, Wong wrote:
> Hi,
>
> Sorry for this OT posting.
>
> 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?).
>
> Thank you very much for your kind help.
>
> Thx & Rgds,
>
>
> Awie
>
>

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Fri Mar 21 2008 - 21:53:20 MDT

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