summary refs log tree commit diff
path: root/home/.local/bin/versions
blob: 25e5ff721e07b1710546138e042aaf653d2c00ee (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -u

for repo in ~/src/git/*; do
	version=$(git -C "${repo}" describe --dirty 2>/dev/null)
	if [ $? -eq 0 ]; then
		echo "${repo##*/}-${version#v}"
	fi
done | sort -nr -t '-' -k 3 | column -t -s '-'
t/bin/bit.y?id=a07d0e0b9a8e8af4b855018facde4e4b02e54dd4&follow=1'>Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe