[Alexandria-list] What is supposed to be the contents of a yaml file in Alexandria

L.C. Karssen lennart at karssen.org
Sat Feb 23 18:15:02 EST 2008


On Sat, 2008-02-23 at 22:05 +0000, Cathal Mc Ginley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, 23 Feb 2008 13:02:10 +0100
> "L.C. Karssen" <lennart at karssen.org> wrote:
> 
> > 
> > Another thing I noticed is that I have several yaml files that start
> > with a - (dash). This makes using tools like grep impossible. Are
> > these files there for a reason?
> > 
> 
> Yep, this is an annoyance I've noticed before. When a book doesn't have
> an ISBN, it's 'ident' or identifier, is generated by taking the
> hash-code of its title (a number generated from the title string,
> called a hash-code because it's often used in hashtables). Sometimes
> this number is negative. The YAML filename uses the 'ident', so this
> sometimes results in filenames beginning with a '-'.

Would it be a good idea to prefix all yaml files with 'alex' or even
'alexandria' so that the minus doesn't really matter any more?


-- 
----------------------------------------------------
L.C. Karssen
Utrecht
The Netherlands

lennart at karssen.org

Stuur me aub geen Word of Powerpoint bestanden!
Zie http://www.gnu.org/philosophy/no-word-attachments.nl.html
----------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/alexandria-list/attachments/20080224/bc170ffc/attachment.bin 


More information about the Alexandria-list mailing list