Changes

Jump to navigation Jump to search
6 bytes added ,  07:51, 7 August 2009
m
Improve the readability of the removal command a little by splitting it over multiple lines
Line 109: Line 109:     
To remove a specific entry but leave other existing entries unchanged
 
To remove a specific entry but leave other existing entries unchanged
  config setprop squid BypassProxyFrom $(config getprop squid BypassProxyFrom | sed -e 's/entry-to-be-removed//' -e 's/^,//' -e 's/,$//' -e 's/,,//')
+
  config setprop squid BypassProxyFrom \
 +
$(config getprop squid BypassProxyFrom | \
 +
sed -e 's/entry-to-be-removed//' -e 's/^,//' -e 's/,$//' -e 's/,,//')
    
where entry-to-be-removed is the IP to be removed
 
where entry-to-be-removed is the IP to be removed

Navigation menu