GNU grep
имеет параметр -o
:
-o, --only-matching
Печатать только совпавшие (непустые) части совпадающей строки, с каждой такой частью в отдельной строке вывода.
Таким образом, это должно делать то, что вы хотите
grep -f filename.txt -R -H -o /home/*
Примечание. Я также добавил -H
(-with-filename), чтобы всегда печатать имя файла.
В версии squid v3.5 директивы конфигурации hierarchy_stoplist
и client_db
устарели.
Закомментировал их, перезапустил службу и squid
заработал нормально.
As part of the Squid configuration cleanup project hierarchy_stoplist has appeared as a directive which is almost but not quite obsolete. Points against it:
1) it only affects configurations with cache_peer.2) The default settings published with earlier Squid versions are obsolete since around 3.1 version.
If you are only using "hierarchy_stoplist cgi-bin \?" you can remove it completely from any Squid-3 config file.
3) The following hierarchy_stoplist A B C is almost exactly equivalent to: acl Foo url_regex A B C always_direct allow Foo With the exception that never_direct is applied before hierarchy_stoplist but not before always_direct.
In absence of any objections this will be scheduled for deprecation within the squid-3.4 release cycle.
У меня была такая же проблема после обновления. В моем случае ошибка заключалась в том, что он не мог заблокировать squid.pid в /var/run, хотя мог его создать. Ну, короче говоря, как радуйся и действительно неортодоксальный метод ее решения, я удалил systemD . Однако это НЕ рекомендация. Я получил, как удалить его здесь (http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation). Сумасшествие в том, что это сработало:)