next up previous contents
Next: dbviewrall Up: Examples of the dbview* Previous: dbviewr

dbviewall

The instruction

   dbviewall filename string
generates 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



Dafydd Gibbon
Sat Mar 23 23:18:08 MET 1996