/****************************************************************************************************/
/* */
/* stringSearch.specification.c: */
/* */
/****************************************************************************************************/
/****************************************************************************************************/
/* */
/* Copyright (C) 2004 Joerg Kunze */
/* */
/* This file is part of siliconBrain. */
/* */
/* siliconBrain is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License, or */
/* (at your option) any later version. */
/* */
/* siliconBrain is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
/* */
/****************************************************************************************************/
#include <stdio.h>
#define siliconBrainPrintShortNames
#include "siliconBrainLib"
static const char *siliconBrainRelease = "$siliconBrainRelease: 0.2.3 $";
static const char *siliconBrainRcsIdentifier = "$Id: stringSearch.specification.c,v 1.3 2004/12/14 23:31:26 joerg Exp $";
static const char *siliconBrainSaveStamp = "$siliconBrainSaveStamp: 2004/11/29 00:10:54, Joerg Kunze$";
int main( int argc, const char *argv[] ) {
SiliconBrainPrinter siliconBrainPrinter;
siliconBrainPrinterInit( &siliconBrainPrinter, argc, argv );
tag( "command" );
attribute( "name" , "stringSearch" );
attribute( "release" , siliconBrainRelease );
attribute( "rcsIdentifier", siliconBrainRcsIdentifier );
attribute( "saveStamp" , siliconBrainSaveStamp );
attribute( "title" , "stringSearch fixed string" );
tag( "file" );
key( "openCommand" , "stringSearchOpen" );
key( "closeCommand", "stringSearchClose" );
end();
tag( "shortDescription" );
text( "A string, the needle, is searched in character stream input, files." );
end();
tag( "longDescription" );
text(
" It is a fixed string *no* regex. Currently the search stops if a string is found."
);
end();
tag( "option" );
attribute( "name" , "expression" );
attribute( "type" , "value" );
attribute( "oneCharacterName", "e" );
tag( "shortDescription" );
text( "String to be searched: the needle." );
end();
tag( "longDescription" );
text(
"The expression which is searched for. Because this implementation is searching for fixed strings only"
"this is just the string. It is not a regular expression. The name of the option is taken, to be"
"consitent with other tools."
);
end();
end();
end();
return 0;
}
/*
$Log: stringSearch.specification.c,v $
Revision 1.3 2004/12/14 23:31:26 joerg
published for new release 0.2.3
Revision 1.2 2004/12/14 23:17:05 joerg
published for new release 0.2.2
Revision 1.1 2004/11/29 00:11:57 joerg
first not really running version of a string search algorithm
*/