Mailing list archives : pcb-rnd

ID:5736
From:ka...@aspodata.se
Date:Sun, 10 Jul 2022 15:19:03 +0200 (CEST)
Subject:Re: [pcb-rnd] file name policy change proposal
in-reply-to:
replies: 5738 from rn...@igor2.repo.hu , 5758 from rn...@igor2.repo.hu
Voukko:
> I have also a wrong opinion.
...
> So my proposal is that let it be .lht
 
No it's not a wrong opinion.
You really don't need even .lht.
 
> and let tool decide what to do.
...
 
Unfortunately the program file just calls theese files
for ascii text.
 
$ file _semiconductor/fin3385.sym 
_semiconductor/fin3385.sym: ASCII text
$ file traco_timX_single_c.fp 
traco_timX_single_c.fp: ASCII text
$ file svn/pcb-rnd/footprint/connector/BNC_LAY.fp 
svn/pcb-rnd/footprint/connector/BNC_LAY.fp: ASCII text
$
 
So one way around this it to update your magicfile (mine is 
/usr/share/misc/magic.mgc). And/or write some script to find
dependancies, like:
 http://aspodata.se/git/openhw/bin/examine_sch.pl
 
If there was/is a proper dependancy finder program, then
this question would be moot and the program shouldn't have
to suggest an extension at all.
 
Regards,
/Karl Hammar
 
 

Reply subtree:
5736 Re: [pcb-rnd] file name policy change proposal from ka...@aspodata.se
  5738 Re: [pcb-rnd] file name policy change proposal from rn...@igor2.repo.hu
  5758 [pcb-rnd] file(1) support for our formats (was: file name policy change proposal) from rn...@igor2.repo.hu
    5759 Re: [pcb-rnd] file(1) support for our formats (was: file name policy from Erich Heinzle <a1...@gmail.com>