File: gen_examples.sh

package info (click to toggle)
tup 0.7.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,096 kB
  • sloc: ansic: 220,754; sh: 18,917; perl: 184; python: 67; lisp: 63; makefile: 62
file content (8 lines) | stat: -rwxr-xr-x 145 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#! /bin/sh -e

for i in $@; do
	title=`./gen_text.sh $i`
	synopsis=`cat $i | head -n 1`
	echo "<a href=\"$i\">$title</a>"
	echo "$synopsis"
done