[9fans] Pjpeg in /sys/lib/mimetype

2014-11-14 Thread arisawa
Hello, It is curious for me that .jpg has two entries in /sys/lib/mimetype. term% grep jpeg /sys/lib/mimetype .jfif image jpeg- y .jfif-tbnl image jpeg- y .jpeimage jpeg-

[9fans] pjpeg in /sys/lib/memetype

2014-11-14 Thread Kenji Arisawa
Hello 9fans, It is curious for me that .jpg has two lines in /sys/lib/mimetype. term% grep jpeg /sys/lib/mimetype .jfif image jpeg- y .jfif-tbnl image jpeg- y .jpeimage jpeg-

[9fans] e0|e01 on regexp(3)

2014-11-14 Thread trebol
Using a little script I wrote to rename files, I encounter a funny behavior with '|'. If the regular expressions share a part, doesn't matter the order of those, The first match from the start of the input is processed. Now that I'm writing this, it's seems obviously the right behavior (and I