File: gen_examples.sh

package info (click to toggle)
tup 0.7.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 18,448 kB
  • sloc: ansic: 217,845; sh: 17,432; 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