|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T q
Length: 1114 (0x45a) Types: TextFile Names: »quic.l«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./DVIware/laser-setters/quicspool/src/quic.l« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« └─⟦ca79c7339⟧ └─⟦this⟧ »DVIware/laser-setters/quicspool/src/quic.l«
/* $Header: quic.l,v 1.1 88/01/15 13:05:21 simpson Rel $ */ %{ /* $Log: quic.l,v $ * Revision 1.1 88/01/15 13:05:21 simpson * initial release * * Revision 0.1 87/12/11 21:37:40 simpson * beta test * */ /* Scans the data going by the "if" filter */ %} %% \^P[YN]\^- { QuicMode = (yytext[2] == 'Y' ? TRUE : FALSE); if (QuicMode) EnteredQuic = TRUE; fputs(yytext, stdout); } \^[OF] { if (QuicMode) FreeForm = (yytext[1] == 'F' ? TRUE : FALSE); fputs(yytext, stdout); } "^," { if (QuicMode) { NumPages++; if (!Raw) LineNum = 1; } fputs(yytext, stdout); } \f { if (!QuicMode || (QuicMode && !FreeForm)) NumPages++; fputs(yytext, stdout); } \n { if (!Raw) { putchar('\r'); if (++LineNum > Length) { NumPages++; LineNum -= Length; } CharCount = 1; } fputs(yytext, stdout); } . { short i; if (!Raw) { if (CharCount++ == 1 && Indent > 0) for (i = 0; i < Indent; i++) putchar(' '); } fputs(yytext, stdout); } %%