File: make-steps

package info (click to toggle)
snek 1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,420 kB
  • sloc: ansic: 23,496; python: 4,344; makefile: 1,684; sh: 691; lisp: 2
file content (7 lines) | stat: -rwxr-xr-x 144 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
#!/bin/sh
dir=`dirname $0`
for i in "$@"; do
	step=`basename "$i" .html`.adoc
	"$dir"/make-step < "$i" > "$step"
	echo "include::$step"'[]'
done