[SOLVED] Dansguardian.config edit using perl or sed
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Usage #26. There was a bug in DansGuardian versions 126.96.36.199 through 188.8.131.52 (but not 184.108.40.206 and before, or 220.127.116.11 and after) that caused list lines containing an invisible TAB character to be mis-parsed. That caused all kinds of weird and wonderful behaviors, including what appeared to be the exact same line behaving differently when retyped, and lines being sensitive to the presence of comments! (Use something like dansguardian -v to find out the DansGuardian version, which isn't always the same as the package version.)
To solve the problem do any one of:
Edit the list files to use only SPACEs never TABs.
Convert all existing TABs to the right number of SPACEs (maybe use something like sed or Perl).
Upgrade to at least DansGuardian 18.104.22.168
Since this is only my first miserable attempt at installing a slackbuild and i have zero experience creating my own. Upgrading to DansGuardian 22.214.171.124 seems beyond my ability at the moment. Does anyone on here have the ability to easily "Edit the list files to use only SPACEs never TABs.
Convert all existing TABs to the right number of SPACEs (maybe use something like sed or Perl)"??