bboard hyperpithole gate
 (DIR) Menu
 (DIR) Section <GOPHER>
 (DIR) Forward
 (DIR) Backward
       Thread[.post]: 23.8
       SUBJECT: .. file sorting
       DATE:    28-Dec-22 22:41:16
       HOST:    rie
       
       Hello, I hope I'm not too late and don't misunderstand the question. On my 
       phlog I wanted to have a link to "Latest Post" and then a link to a 
       directory with other entries in it.  
       
       1Daily Phlogs   journal/
       
       =echo "0Latest Phlog    journal/`ls -tR journal/ | head -1`"
       
       This always links to the newest file in that directory. the -t is for time 
       and -R is for reverse.  Then I grab the first result.  
       
       If I want to list the whole directory I usually just dont put a map in 
       there at all and let the default page show up. 
       
       I hope this helps, idk if that is what you were after or if papa's 
       solution is better.  
       
       
       
       <GOPHER.23.8/11>(73)[ <ENTER> follow thread, (R)EPLY, (F)LAG or (Q)UIT ]