The instruction
dbviewall filename stringgenerates a prettyprint of all the available attribute-value pairs (i.e. here: Orth A3 B1 C1 D1) for entry string in file filename.
Example:
dbviewall sfb.lex Sechskantschraube Entry 495: Sechskantschraube Orth: Sechskantschraube A3: zEks|kant|SraU|b@ B1: nomen,akk,fem,sg,@empty@,@empty@,Scchskanntchraube,@empty@ nomen,nom,fem,sg,@empty@,@empty@,Sechskantschraube,@empty@ C1: Nom,OBJEKTTYP D1: nom
Code:
#!/bin/sh # dbviewall # D. Gibbon # 6.1.1995 # Prettyprint all attributes # for a given word # (see dbview) Atts=`head -n1 $1` dbview $1 $Atts $2