openSUSE Forums > Archives > Novell Archives » Re: What are all the Usenet News Messages doing in my sysconfig directory?

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Jun-2005, 11:49
Matt Gibson
Guest
 
Posts: n/a
Default Re: What are all the Usenet News Messages doing in my sysconfig directory?

Gunnar Grim wrote:

> Could someone please tell a curious newbie what makes Knonqueror

think
> that e g the file cron is a Usenet News Message while e g cups is a> Plain Text Document!


Does "cron" have the string "Path:" in it, but "cups" not? It may besomething else, but that would be my first guess.

Have a look at the man pages for file(1) and magic(5) (that's "man 5
magic"
from the command line if you've never looked up different manual
sections
before), and have a read of your /etc/magic file. Basically,
something's
taking a guess, by having a look at the contents of a file, and an
ASCII file
which contains the string "Path:" is often a news message. In this
case it's
getting it wrong, but you can't get it right 100% of the time!

M

--
"It's the small gaps between the rain that count,
and learning how to live amongst them."
-- Jeff Noon


  #2 (permalink)  
Old 06-Jun-2005, 13:38
Gunnar Grim
Guest
 
Posts: n/a
Default Re: What are all the Usenet News Messages doing in my sysconfig directory?

Matt Gibson wrote:
> Gunnar Grim wrote:
>
>>Could someone please tell a curious newbie what makes Knonqueror

think
>>that e g the file cron is a Usenet News Message while e g cups is a>>Plain Text Document!

>
> Does "cron" have the string "Path:" in it, but "cups" not? It may

be
> something else, but that would be my first guess.
>
> Have a look at the man pages for file(1) and magic(5) (that's "man 5

magic"
> from the command line if you've never looked up different manual

sections
> before), and have a read of your /etc/magic file. Basically,

something's
> taking a guess, by having a look at the contents of a file, and an

ASCII file
> which contains the string "Path:" is often a news message. In this

case it's
> getting it wrong, but you can't get it right 100% of the time!
>
> M
>


Thanks, Matt!
Yepp, it has "Path:" in it at the very first line!


 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2