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

Re: How to comment out lines in /etc/apt/preferences?



On Thu, Jan 23, 2003 at 06:39:15AM -0500, Lloyd Zusman wrote:
> Is there a way to comment out lines in /etc/apt/preferences?  I tried
> various comment characters, but none worked.  I couldn't find anything
> about this in the documentation.

I used to do hush trick without thinking too much but ...

Since this file format is same as mail header, adding 

X-comment: whatever you want to write

Seems to be the right approach. (Hush can be considered another header
but ...)

http://www.debian.org/doc/manuals/reference/examples/preferences.testing
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



Reply to: