You mean you just want the filename as a link to the file? ls -1 | awk '{ printf("<a href=\"%s\">%s</a>\n", $1, $1) }' On Tue, 26 Aug 2003, Shawn wrote: > I want to take an ls of a directory and dump it into an html file (pics) for temporary use. Until I get a sight up with thumbnails (read lack of time right now). > > What's the best way to do this? > > I tried a for loop, but it didn't work. > > any help on this would be appreciated. > > -- > Shawn > > The difficult we do today; the impossible take a little longer. > > Ne Obliviscaris -- "Forget Not" > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > http://www.mn-linux.org tclug-list at mn-linux.org > https://mailman.real-time.com/mailman/listinfo/tclug-list > _______________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota http://www.mn-linux.org tclug-list at mn-linux.org https://mailman.real-time.com/mailman/listinfo/tclug-list