Eliot Miranda-2 wrote
Why not #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect: [:thing| thing extension] => #('' 'tar' 'gz' 'tar' 'gz') and #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect: [:thing| thing extensions] => #(#() #('tar') #('gz' 'tar') #('tar' '1') #('gz' 'tar' '1')) or #('foo' 'foo.tar' 'foo.tar.gz' 'foo.1.tar' 'foo.1.tar.gz') collect: [:thing| thing extensions] => #(#() #('tar') #('tar' 'gz') #('1' 'tar') #('1' 'tar' 'gz')) ?
I opened an issue (http://code.google.com/p/pharo/issues/detail?id=6091)... which order do we like for extensions? -- View this message in context: http://forum.world.st/FileSystem-and-file-extensions-tp4635256p4635617.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.