#!/bin/bash set -e set -x out="/dev/shm/tmp/" txt="pass.txt" entries="email/finga@onders.org email/zabbix@onders.org isp/dogado isp/euserv isp/netcup/ccp isp/netcup/scp onders.org/alderaan.onders.org/root onders.org/alderaan.onders.org/root@x200 ssh-key onders.org/coruscant.onders.org/admin onders.org/coruscant.onders.org/console password onders.org/dagobah.onders.org/admin onders.org/dagobah.onders.org/console password onders.org/endor.onders.org/finga onders.org/endor.onders.org/finga@x200 ssh-key onders.org/endor.onders.org/pi onders.org/endor.onders.org/root onders.org/hoth.onders.org/finga onders.org/hoth.onders.org/finga@x200 ssh-key onders.org/hoth.onders.org/hdd/hoth-storage-media onders.org/hoth.onders.org/hdd/hoth-storage-unsorted onders.org/hoth.onders.org/hdd/system disk onders.org/hoth.onders.org/psql/zabbix onders.org/hoth.onders.org/root onders.org/hoth.onders.org/zabbix/Admin onders.org/titan.onders.org/finga@x200 ssh-key onders.org/titan.onders.org/root uni/abgaben@cosy uni/account uni/unix www/business/finanzamt www/business/netbanking www/gaming/arc www/gaming/rockstar www/shops/archleitner biokiste" while read -r e; do echo "$e:" pass "$e" echo done <<< "$entries" > "$(dirname $out)/$txt" rubber --into "$out" -d pass_bak.tex # rm -f pass.txt pass_bak.aux pass_bak.log