'fax -handle +' to take handle from deckblatt

This commit is contained in:
Gandalf 2021-04-20 22:12:58 +02:00
parent e73d37470d
commit 9c46b48bf4

7
fax.sh
View file

@ -33,7 +33,12 @@ do
"--help") usage ;;
"--handle")
$LETTERHEAD_PATH/Adressen/address.sh -l > /dev/null || abort
REC0=$($LETTERHEAD_PATH/Adressen/address.sh -f $2 2>\dev\null | sed 's: ::g')
HAND=$2
if [ $HAND = "+" ]
then
HAND=$(grep + DECKBLATT.csv | cut -d, -f2)
fi
REC0=$($LETTERHEAD_PATH/Adressen/address.sh -f $HAND 2>/dev/null | sed 's: ::g')
shift
shift ;;
"--")