Deckblatt Anzeige
This commit is contained in:
parent
77e083ef73
commit
bef8ee829a
|
@ -14,7 +14,8 @@ fi
|
|||
if [ -e DECKBLATT.csv ]
|
||||
then
|
||||
# Formatiert anzeigen
|
||||
echo "Offene Erinnerungen aus Az."
|
||||
echo "Deckblatt für $PWD"
|
||||
join -t, -1 2 -2 1 <(sort -t, -k2 DECKBLATT.csv) <(sort $BASEPATH/Adressen.csv) -o 1.4,2.2,1.2,1.3 -a 1 | grep -v handle | sort | awk -F, '{ print $2 " (" $3 "): " $4 }' | sed -e 's|"||g' -e 's|^ (me)|Mein Az|'
|
||||
else
|
||||
# Neu anlegen
|
||||
read -p "Kein Deckblatt im Verzeichnis. Lege neues Deckblatt an? " NEW
|
||||
|
@ -46,6 +47,6 @@ else
|
|||
then
|
||||
STA="StA,,$STAZ,\n"
|
||||
fi
|
||||
echo -e "INH,handle,az,stand\nME,,$MYAZ,\n${STA}$GEG,$GEGHANDLE,$AZ,+"
|
||||
echo -e "INH,handle,az,stand\nME,,$MYAZ,0\n${STA}$GEG,$GEGHANDLE,$AZ,+"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue