10-18-2002
Free regular expression interpreter for NT...
Can somebody point me in the direction of a reliable, open-source, free regular expression interpreter that runs on NT and is easily consumed from C/C++.
I'll be happy to add this functionality to an event driven batch scheduler on our NT network.
I didn't know wher I can fit this topic... I think this forum is not bad
Thanks in advance!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Is it possible to combine a regular expression with a aritmetical expression? For example, taking a 8-numbers caracter sequece and casting each output of a grep, comparing to a constant.
THX! (2 Replies)
Discussion started by: Z0mby
2 Replies
2. Programming
Hi all,
I'm working with flex (version 2.5.4a) on GNU/linux. I need to frame a regular expression which would match cases where word "file" does not occur. Negated character class wont work for me because they enforce "or" clause between different chars (so something like wont work). I would like... (5 Replies)
Discussion started by: Rakesh Ranjan
5 Replies
3. Linux
Regular expression to extract "y" from "abc/x.y.z" (2 Replies)
Discussion started by: rag84dec
2 Replies
4. UNIX for Dummies Questions & Answers
I currently list and sort all the files in a directory which begin with an Upper Case C and end with the extension '#finished#'.
Here is the command I use:
ls -tr $currentDir/*.#finished#
what i need to do now is list all the files in a directory that begin with upper case C and end... (3 Replies)
Discussion started by: rkgudde
3 Replies
5. Shell Programming and Scripting
Hi,
How can I traverse backward in a string. I want second last directory in a path. For eg,
/home/devel/scripts/shell/2009/test.sh
I want 2009 here (6 Replies)
Discussion started by: gentleDean
6 Replies
6. Shell Programming and Scripting
CA_RELEASE has a value of 6. I need to check if that this is a numeric value. if not error.
source $CA_VERSION_DATA
if * ]
then
echo "CA_RELESE $CA_RELEASE is invalid"
exit -1
fi
+ source /etc/ncgl/ca_version_data
++ CA_PRODUCT_ID=samxts
++ CA_RELEASE=6
++ CA_WEEK_NO=7
++... (3 Replies)
Discussion started by: ketkee1985
3 Replies
7. Shell Programming and Scripting
I have a flat tab delimited file of the following format
1 A:23 A:45 A:789
2 A:2 A:47
3 A:78 A:345 A:9 A:10
4 A:34 A:98
I want to modify the file to the following format with insertions of "//" in between
1 A:23 // A:45 // A:789
2 A:2 // A:47
3 A:78 // A:345 // A:9 // A:10
4 A:34... (7 Replies)
Discussion started by: Lucky Ali
7 Replies
8. Programming
Hi all,
How am I read a file, find the match regular expression and overwrite to the same files.
open DESTINATION_FILE, "<tmptravl.dat" or die "tmptravl.dat";
open NEW_DESTINATION_FILE, ">new_tmptravl.dat" or die "new_tmptravl.dat";
while (<DESTINATION_FILE>)
{
# print... (1 Reply)
Discussion started by: jessy83
1 Replies
9. Shell Programming and Scripting
Hi,
what ?* means in sh script?
I know that ? is equivalent to at least one appearance of a preceding expression and * is equivalent to at least one appearance of preceding expression but I have difficulties with a way in which I should interpret following pattern:
-?*
I would expect that... (4 Replies)
Discussion started by: DavidMax
4 Replies
10. UNIX for Advanced & Expert Users
Hello All,
I'm trying to extract the lines between two consecutive elements of an array from a file.
My array looks like:
problem_arr=(PRS111 PRS213 PRS234)
j=0
while } ]
do
k=`expr $j + 1`
sed -n "/${problem_arr}/,/${problem_arr}/p" problemid.txt
---some operation goes... (11 Replies)
Discussion started by: InduInduIndu
11 Replies
LEARN ABOUT DEBIAN
cf-know
cf-know(8) System Manager's Manual cf-know(8)
NAME
cf-know - cfengine's knowledge agent
SYNOPSIS
:
cf-know [options]
DESCRIPTION
:
The knowledge management agent is capable of building and analysing a semantic knowledge network. It can configure a relational database to
contain an ISO standard topic map and permit regular-expression based searching of the map. Analysis of the semantic network can be per-
formed providing graphical output of the data, and cf-know can assemble and converge the reference manual for the current version of the
Cfengine software. cfengine is a self-healing configuration and change management based system. You can think of cfengine as a very high
level language, much higher level than Perl or shell. Asingle statement is called a promise, and compliance can result in many hundreds of
filesbeing created, or the permissions of many hundreds offiles being set. The idea of cfengine is to create a one or more sets of configu-
ration files which willclassify and describe the setup of every host in a network.
COMMAND LINE OPTIONS
:
--help, -h
Print the help message
--build, -b
Build and store topic map in the CFDB
--debug, -d
Set debugging level 0,1,2,3
--verbose, -v
Output verbose information about the behaviour of the agent
--version, -V
Output the version of the software
--file, -f
Specify an alternative input file than the default
--manual, -m
Generate reference manual from internal data
--manpage, -M
Generate reference manpage from internal data
--stories, -z
Look up stories for a given topic on the command line
--syntax, -S
Print a syntax summary of the optional keyword or this cfengine version
--topics, -T
Show all topic names in CFEngine
--test, -t
Generate test data
--removetest, -r
Remove test data
--updatetest, -u
Update test data
AUTHOR
Mark Burgess and CFEngine AS
INFORMATION
Bug reports: http://bug.cfengine.com, .PP Community help: http://forum.cfengine.com
Community info: http://www.cfengine.com/pages/community
Support services: http://www.cfengine.com
This software is Copyright (C) 2008-2013 CFEngine AS.
Maintenance Commands cf-know(8)