tag:blogger.com,1999:blog-3263316935908175537.post1276553128199480925..comments2023-07-31T18:35:07.351+05:30Comments on The Tao of Programming: Songs list from files listSundarhttp://www.blogger.com/profile/00415039983973239001noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3263316935908175537.post-41027681656416953432011-12-18T09:54:41.647+05:302011-12-18T09:54:41.647+05:30No need to use a bunch of tools and interfaces, wh...No need to use a bunch of tools and interfaces, when one line of APL will do:<br><br /> DISP aa<br />┌────────────────────┬───────────────┬───────────────────────┬─────────────┐<br />│ANBE_VAA_ARUGILE.MP3│ANBU_THAYAE.MP3│ANDANVAN_THEANAKTRU.MP3│ANNANENNA.MP3│<br />└────────────────────┴───────────────┴───────────────────────┴─────────────┘<br /> DISP {1↓' ' SSofENC {(⍬⍴⍵),lowercase 1↓⍵}¨ENCofSS' ',{s←⍵⋄((s='_')/s)←' '⋄s}{(¯1+⍵⍳'.')↑⍵}⍵}¨aa<br />┌────────────────┬───────────┬───────────────────┬─────────┐<br />│Anbe Vaa Arugile│Anbu Thayae│Andanvan Theanaktru│Annanenna│<br />└────────────────┴───────────┴───────────────────┴─────────┘Randy A MacDonaldhttps://www.blogger.com/profile/16270311836546574558noreply@blogger.comtag:blogger.com,1999:blog-3263316935908175537.post-9619160543254308652010-04-01T10:59:18.067+05:302010-04-01T10:59:18.067+05:30Excellent usage for such coding options :) nice th...Excellent usage for such coding options :) nice thoughtMeenakshihttps://www.blogger.com/profile/02369495209884856184noreply@blogger.com