File: htdocs_regen

package info (click to toggle)
memchan 2.3%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 2,348 kB
  • ctags: 612
  • sloc: ansic: 3,320; sh: 990; tcl: 687; makefile: 56
file content (12 lines) | stat: -rwxr-xr-x 235 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Assume call with pwd = 'htdocs'.

for i in `ls raw/*.exp`
do
	echo $i '-->' `basename $i .exp`.html
	../tools/expand -rules ../tools/rules/memchan $i > `basename $i .exp`.html
done

rm index.php
ln -s index.html index.php