initial commit of a *whole bunch* of old Egressive shell scripts, used to make many people redundant.

This commit is contained in:
Dave Lane 2016-03-16 13:43:31 +13:00
commit 43e0f5b59e
329 changed files with 31937 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/bin/bash
if [ -n "$1" ] ; then
dir=$1
else
dir=$PWD
fi
for module in * ; do
if [ ! -f $module/$module.info ] ; then
echo "Can't find $module/$module.info" 1>&2
continue
fi
echo -n $module
awk -F= '/^version/{version=$2}END{print version}' $module/$module.info | sed -e 's/"//g'
done