File: gen_examples.sh

package info (click to toggle)
tup 0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 21,068 kB
  • sloc: ansic: 256,651; sh: 19,107; perl: 184; python: 67; lisp: 63; makefile: 56
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