bug-coreutils
[Top][All Lists]
Advanced

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

ls should colorize .cgm and .emf files as "image" files


From: James R. Van Zandt
Subject: ls should colorize .cgm and .emf files as "image" files
Date: Thu, 01 Oct 2009 22:57:08 -0400

I suggest that ls should colorize .cgm and .emf files as "image"
files, e.g. using the following patch.

FWIW, "file" currently recognizes .emf files but not .cgm files:
  $ file *emf
  ellipse-illustrator.emf: Windows Enhanced Metafile (EMF) image data
  version 0x10000
  $ file damped.cgm
  damped.cgm: data

.cgm files are Computer Graphcs Metafiles, defined by IISO/IEC 8632.
  
I hereby assign the copyright for this patch to the Free Software
Foundation.

             - Jim Van Zandt


--- src/dircolors.hin-orig      2009-09-24 18:46:38.000000000 -0400
+++ src/dircolors.hin   2009-09-24 18:48:01.000000000 -0400
@@ -132,6 +132,8 @@
 .jpeg 01;35
 .gif 01;35
 .bmp 01;35
+.cgm 01;35
+.emf 01;35
 .pbm 01;35
 .pgm 01;35
 .ppm 01;35




reply via email to

[Prev in Thread] Current Thread [Next in Thread]