permission mods
[feisty_meow.git] / scripts / cgi / cgi_show_file_date.sh
1 #!/bin/bash
2
3 # shows the date on a particular file.
4
5 filename=$(echo $QUERY_STRING | sed -e "s/\+/ /g" )
6
7 echo "Content-type: text/plain"
8 echo ""
9 echo ""
10 #echo "query string is $QUERY_STRING"
11 #echo "filename=$filename"
12 date -r "$filename" +"%A %B %d %Y %T %p" | tr -d '/\n/'
13