The instruction
dbviewrall filename regexpgenerates a prettyprint of all the available attribute-value pairs (i.e. Orth A3 B1 C1 D1) matching regular expression regexp in file sfb.lex.
Example:
dbviewrall sfb.lex Mu.*r Entry 372: Mutter Orth: Mutter A3: mU!t6 B1: nomen,akk,fem,sg,@empty@,@empty@,Raute,@empty@ nomen,nom,fem,sg,@empty@,@empty@,Raute,@empty@ C1: Nom,OBJEKTTYP D1: nom Entry 373: Muttern Orth: Muttern A3: mU!t6n B1: nomen,akk,fem,pl,@empty@,@empty@,Raute,@empty@ nomen,nom,fem,pl,@empty@,@empty@,Raute,@empty@ C1: @empty@ D1: @empty@WARNING: The instruction dbviewrall sfb.lex Orth A3 B1 C1 D1 .* prettyprints the whole lexicon database - since this is currently 15224 lines, watch out!
#!/bin/sh # dbviewall # D. Gibbon # 6.1.1995 # Prettyprint all attributes # for a given word # (see dbview) dbviewr $1 `head -n1 $1` $2