/******************************************************************************
* This file is Copyright 1993 by Philip G. Richards. All Rights Reserved.
* See the file README that came with this distribution for permissions on
* code usage, copying, and distribution. It comes with absolutely no warranty.
* email: <pgr@prg.ox.ac.uk>
******************************************************************************/
/* ---INFOBEGIN--- * DO NOT DELETE THIS COMMENT BLOCK!!!
COMMAND skipto none "skip all input until the supplied label is reached"
* ---INFOEND--- */
#include "client.h"
#include "main.h"
#include "table.h"
char *skiptolabel = 0;
int
lskipto_main(int argc, char *const *argv, char **envp)
{
if (argc != 2)
{
ffprintf(STDERR, "?skipto: a single label must be specified\n");
return 1;
}
skiptolabel = strdup(argv[1]);
return 0;
}
syntax highlighted by Code2HTML, v. 0.9.1