!<arch> Ipbrmstring 418698184 968 27 100644 105 ` aaa bbb|ccc ddd|eee: fff:lp=here:id=butnothere ggg| hhh|iii:lp=andhere :jjj kkk|lll|:lp:lp=andherealso: Opbrmstring 418698184 968 27 100644 72 ` aaa bbb|ccc ddd|eee: fff:id=butnothere ggg| hhh|iii: :jjj kkk|lll|:lp: Tpbrmstring.c 418698190 968 27 100644 545 ` /* * pblenfield() * pbrmstring() */ #include <stdio.h> #include "path.h" #include "pdb.h" char *PGN = "Tpbrmstring"; /* program name */ main() { int closepdb(); /* close database */ int pgetent(); /* load next entry into buffer */ PDB *mustopenpdb(); /* must open database or die */ PDB *pdbp; /* database stream */ void pbrmstring(); /* remove string field */ pdbp = mustopenpdb("Ipbrmstring", ".", "r"); while (pgetent(pdbp) != EOF) { pbrmstring("lp"); printf("%s\n", pdbp->pbuf); } closepdb(pdbp); exit(0); }