Subversion Repositories wimsdev

Rev

Rev 7676 | Rev 8104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7676 Rev 8100
Line 15... Line 15...
15
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
15
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16
 */
16
 */
17
 
17
 
18
/* This special program selects words composed by
18
/* This special program selects words composed by
19
 * selected characters, each selected character being used
19
 * selected characters, each selected character being used
20
 * at most once in the word */
20
 * at most once in the word
-
 
21
 */
21
 
22
 
22
/* Selected characters are entered by the env var 'oncechar'.
23
/* Selected characters are entered by the env var 'oncechar'.
23
 * Words entered by stdin. Output to stdout. */
24
 * Words entered by stdin. Output to stdout.
-
 
25
 */
24
 
26
 
25
#include "../wims.h"
27
#include "../wims.h"
26
#include "../Lib/basicstr.c"
28
#include "../Lib/libwims.h"
27
#define MAX_WORDLEN 1023
29
#define MAX_WORDLEN 1023
28
 
-
 
-
 
30
#include "../mydebug.c"
29
char wbuf[MAX_WORDLEN+1];
31
char wbuf[MAX_WORDLEN+1];
30
char selbuf[256];
32
char selbuf[256];
31
 
33
 
32
int getword(void)
34
int getword(void)
33
{
35
{