7 lines
155 B
Plaintext
7 lines
155 B
Plaintext
|
#!/bin/bash
|
||
|
posts=`ls -1At log/posts`
|
||
|
|
||
|
while read -r line; do
|
||
|
echo " <li><a href='log/?i=$line'>`head -1 log/posts/$line`</a></li>"
|
||
|
done <<< "$posts"
|