summaryrefslogtreecommitdiff
path: root/user-pages-lastline.sh
blob: 8258eceec65792475f61a429082791f98281235e (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

cd user-pages.cache
for file in *; do
	printf '%s\t%s\n' \
		"$file" \
		"$(< "$file" sed -n '$p' | sed -r 's|<br\s*/?>|\n|g' | sed -n '$p')"
done