]> git.siccegge.de Git - dotfiles/zsh.git/blob - functions/home/porterbox
Add Makefile
[dotfiles/zsh.git] / functions / home / porterbox
1 #!/bin/zsh
2
3 ldapsearch -h db.debian.org -x -b dc=debian,dc=org 'purpose=porterbox' hostname architecture -LLL | egrep 'hostname|architecture|^$' | awk '$1 == "architecture:" { a = $2}; $1 == "hostname:" { h = $2}; !NF && h ~ /debi/ {printf "%-20s %s\n", h, a; a=""; h=""} ' | sort
4