GNU bug report logs -
#14539
[PATCH] dircolors: add pnm image
Previous Next
Reported by: Javier Lopez <chilicuil <at> ubuntu.com>
Date: Sun, 2 Jun 2013 22:12:02 UTC
Severity: normal
Tags: patch
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Attached patch adds colorizing for *.pnm images. Pnm images are amongst others
generated by Xsane scans. Although they're basically text files, they are
considered as images (a file command returns "Netpbm PPM "rawbits" image data"
so their color code should probably be 01;35.
This issue was first noted by ultrapeer AT lavabit.com and forwarded to Ubuntu
======================================================================
diff --git a/src/dircolors.hin b/src/dircolors.hin
index 18e1552..3a0c03f 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -165,6 +165,7 @@ EXEC 01;32
.tif 01;35
.tiff 01;35
.png 01;35
+.pnm 01;35
.svg 01;35
.svgz 01;35
.mng 01;35
This bug report was last modified 11 years and 357 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.