Amos Jeffries wrote:
Go Wow wrote:
whats the command to get only those configuration lines from
squid.conf leaving the comment lines. If i get it i will post my
config file.
grep -v -E "^#" squid.conf
Or to also remove all the empty lines and trailing comments from valid lines:
sed -e 's/ *#.*//' squid.conf | sed -e '/^$/d'
begin:vcard
fn:Ben Hollingsworth
n:Hollingsworth;Ben
org:BryanLGH Health System;Information Technology
adr:;;1600 S. 48th St.;Lincoln;NE;68506;USA
email;internet:ben.hollingsworth@xxxxxxxxxxxx
title:Systems Programmer
tel;work:402-481-8582
tel;fax:402-481-8354
tel;cell:402-432-5334
url:http://www.bryanlgh.org
version:2.1
end:vcard