Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fsaparse(3gv) [debian man page]

fsaparse(3gv)															     fsaparse(3gv)

NAME
fsaparse - parse a word-acceptor automaton file SYNOPSIS
#include "wa.h" fsafparse(fp, fsa) FILE *fp; Fsa *fsa; DESCRIPTION
fsafparse parses a word-acceptor automaton file in the format described by DEAGL ("Data Exchange for Automata and Groups Language") (but see the BUGS section below). fp should be a pointer to an open file containing the automaton. fsa should be a pointer to an Fsa struture as defined in "fsa.h". Upon return, the automaton will have been written into this structure. RETURN VALUES
On success, fsafparse() returns 1. On failure, it returns 0. SEE ALSO
getwordlist(3), getmatlist(3), fgetmatlist(3), getmatlist(1), automata(1) BUGS
fsafparse is meant specifically for use with getwordlist(3) and getmatlist(3). It does not recognize the full language described by DEAGL. It only recognizes that part of it which was present in the word-acceptor files that I was working with when I wrote it. I think this may be sufficient for all word-acceptor automata, but I am not sure of this. Please let me know if you find word-acceptor files for which this doesn't work. AUTHOR
Mark Phillips The Geometry Center Sat Mar 23 22:01:32 1991 fsaparse(3gv)

Check Out this Related Man Page

geomutil(3gv)															     geomutil(3gv)

NAME
geomutil - various geometry utilities (introduction) DESCRIPTION
The geomutil library contains a collection of miscellaneous geometric utility functions: AnyToPL() - convert any geom to a polylist PLCombine() - combine two polylists into one PLConsol() - consolidate vertices in a polylist Bdy() - generate the boundary (edge) of a geom Each function has its own manual page which gives usage details. To link your program with the geomutil library you should specify -lgeomutil followed by the usual list of OOGL libraries, as in cc -L${LIBDIR} prog.c -lgeomutil -lstubdraw -lgeom -lvect -lpolylist -lquad -lmesh -lbezier -linst -ltlist -llist -lstub -lgeom -loogl -lbbox -lshade -lcolor -l3d -lm SEE ALSO
anytopl(3), plcombine(3), plconsol(3), bdy(3), anytooff(1), offcombine(1), offconsol(1), bdy(1), geomview(1) AUTHOR
Celeste Fowler The Geometry Center Geometry Center July 10, 1992 geomutil(3gv)
Man Page

12 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Substitute Command in vi

How do I substitute a word throughout a file? For example change all instances of the word John to Mark. This would be in vi for korn shell. (10 Replies)
Discussion started by: lesstjm
10 Replies

2. Shell Programming and Scripting

replace word in a file

there are 300 files in a directory , some of these files has a word "error" , I word to change this word to "message" , can advise what can i do ? thx. (5 Replies)
Discussion started by: ust
5 Replies

3. Shell Programming and Scripting

find error

I have a directory that our applications are continuely generate new file to it , some files hv a word "error" in content , I would like to find out which file hv this word and send me notify mail to inform me which file hv this word , currently , I have a stupid script to grep the word , the... (1 Reply)
Discussion started by: ust
1 Replies

4. UNIX for Dummies Questions & Answers

How to find a word in a all the files in a Directory??

I want to find a specific word present in all the files ina directory....Please tell me the command to be used?? Thanks (6 Replies)
Discussion started by: shikhakaul
6 Replies

5. UNIX for Dummies Questions & Answers

occurances

Hi, Anyone know how to do the following? :eek: I Have a file as follows: happygoluckypeoplearenotalwayshappy happyisawordthatisnotusedalot If the word "happy" is present MORE than once in EACH line, I want to delete the line, hence in the above case, the first line will be deleted. ... (8 Replies)
Discussion started by: dr_sabz
8 Replies

6. Shell Programming and Scripting

search for key word and execute

Hi, I am writing a shell (after 6-7 months)that has to receive text from another shell, check if the first line in the text has a key word and then execute different shell.I could come up with the below program structure, please suggest me if there is a better way to do it or please help me with... (14 Replies)
Discussion started by: rider29
14 Replies

7. UNIX for Dummies Questions & Answers

How to find function name based on word search

Hi All, I want to find out function name based on word. Here i ll give u one example I have several files based on below format. file will start and ends with same name only EX: file1.txt public function calculate1() { ---- ---- call Global Function1() ---- ---- } END... (9 Replies)
Discussion started by: spc432
9 Replies

8. Red Hat

Find a word from multiple level files on Linux

To find a word from multiple level files: "find . -type f -exec grep {} +" is working on UNIX machines but not working on Linux machine. What is the equivalent command on Linux to find the word from multiple level files? Input is appreciated. (3 Replies)
Discussion started by: ywu081006
3 Replies

9. UNIX for Dummies Questions & Answers

grep for word not working

Hi All..I need a help i am trying to find a word using below script whereas the word exists in my file nitin.txt as a directory but still i am getting "word not found" output..Your suggestions welcomed.: #to check for existence of nitin #!/bin/bash cd /apps/uat1/deploy/app ls -lrt >... (4 Replies)
Discussion started by: nattynitin
4 Replies

10. UNIX for Dummies Questions & Answers

bash variable string declaration

Hello, Why is this not working in a script? files="test.fsa" echo $files for file in $files do if then echo "$file does not exist." fi run a command done I get an error saying (3 Replies)
Discussion started by: verse123
3 Replies

11. Shell Programming and Scripting

Help with searching a word,find the identifier under which it is there and giving a report

Hi, i have a directory structure which contains few files each. each file in turn has some functions. i'm searching for a word, say 'pen' in all the files present in all the directories. :wall: consider a file file1.c in Dir1. out of the 3 funcs present in this file, func1(pennum) and... (3 Replies)
Discussion started by: i.srini89
3 Replies

12. UNIX for Dummies Questions & Answers

Help with incomplete Code

Hello, Since i am new in shell scripting, i need some help from you guys. :rolleyes: I am trying to implement an automata that reflects the attached photo.. The main idea behind is to take an array of (0 & 1)s from the user and terminate it by "end". Then, the string is send to the function... (1 Reply)
Discussion started by: Geekie
1 Replies