aboutsummaryrefslogtreecommitdiffstats
path: root/regen_readme.sh
blob: 9501429a7a89c5c81afafccbffef7178fc415e1a (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

find . -mindepth 2 -name README.txt |sort |while read i; do
	d=`echo $i |sed s/README.txt//`
	echo "$d"
	echo -en "\t"
	head -q -n1 $i
done > README.txt