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 -