Welcome to the CHICKEN Scheme pasting service

chicken-update-all script, redux added by elflng on Wed Jan 11 20:01:23 2023

#!/bin/bash

TMPD=`mktemp -d`
wget -q -O ${TMPD}/rss.xml http://eggs.call-cc.org/rss-5.xml

ALLEGGS=`chicken-status | sed -e 's/^\([^ ]*\) .*version: \(.*\)$/\1::\2/'`

for i in ${ALLEGGS} ; do
    e=${i%::*}
    v=${i#*::}
    nv="`grep "^<title>${e} ${v} .*$" ${TMPD}/rss.xml`"
    if [ -z "${nv}" ] ; then
        gv="`grep "<title>${e} .*$" ${TMPD}/rss.xml | sed -e "s/^<title>${e} \([^ ]*\) .*$/\1/"`"
        echo "getting version ${gv} for egg ${e}..."
        chicken-install ${e}:${gv}
    fi
done

rm -r ${TMPD}

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `process-wait'?
Visually impaired? Let me spell it for you (wav file) download WAV