shithub: rc-gemd

ref: 7fa8b48d8ee308ed95106f66d9376a79942c0080
dir: /handlers/dir-index/

View raw version
#!/bin/rc
full_path=`{echo $"fs_root^$"location | urlencode -d}
full_path=$"full_path

echo '20 text/gemini'^$cr
ls $full_path | sed '
		s,^'$fs_root'/,,g
		s,^,=> /,g'