6 export -f "$1" ||
exit 1;
7 bash
-c 'env' |
tr '\n' '\0' |
sed 's/.*'"$1"'=() {\(.*\)}.*/\1/g' |
tr '\0' '\n'
10 echo '$packages=array('
11 echo "${pkgname[*]}" |
egrep -o '[a-z0-9-]'* |
while read pkg
; do echo "'$pkg', "; done
14 echo "${pkgname[*]}" |
egrep -o '[a-z0-9-]'* |
while read pkg
; do
15 get_function package_
"$pkg" |
while read i
; do eval "$i" &>/dev
/null
; echo '$pkgdescs['"'$pkg']='$pkgdesc';"; done |
tail -n1
This page took 0.563417 seconds and 4 git commands to generate.