pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git] / commands / flex-2.5.4 / MISC / fastwc / wc1.l
blobd6696bcde696fd08565290a2c2ed991d888abe50
1 /* First cut at a flex-based "wc" tool. */
3 ws    [ \t]
4 nonws [^ \t\n]
6 %%
7         int cc = 0, wc = 0, lc = 0;
9 {nonws}+        cc += yyleng; ++wc;
11 {ws}+           cc += yyleng;
13 \n              ++lc; ++cc;
15 <<EOF>>         {
16                 printf( "%8d %8d %8d\n", lc, wc, cc );
17                 yyterminate();
18                 }