Search squid archive

Re: OT: Removing unused lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try this perl command:

$ perl -nle 'next if /^$|^\s*#/;print'  squid.conf

On Sat, Mar 22, 2008 at 11:34 AM, Wong <wongbali@xxxxxxxxxx> 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
>
>
>
>



-- 
Jeff (Joy) Peng
Tencent QQMail Dept.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux