Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nameindex(3) [v7 man page]

NAMEINDEX(3)						       MBK UTILITY FUNCTIONS						      NAMEINDEX(3)

NAME
nameindex - concatenate a name and index with user separator ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mut.h" char *nameindex(s, i) char *s; long i; PARAMETERS
s Pointer to a string t Long integer DESCRIPTION
The nameindex function adds the separator defined by MBK_SEPAR(1), and then the string version of i at the end of string s. This is not like a strcat(3) of the standard library, because s is not beeing modified. The string returned has already been put in the names dictionary by a call to namealloc(3). RETURN VALUE
nameindex returns a pointer to a string in the name hash table. EXAMPLE
#include "mut.h" #include "mlo.h" void a_sig_name(ptsig) losig_list *ptsig; { return pt->NAMECHAIN ? (char *)(pt->NAMECHAIN->DATA) : nameindex("mbk_sig", pt->INDEX); } SEE ALSO
mbk(1), namealloc(3), MBK_SEPAR(1). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 NAMEINDEX(3)

Check Out this Related Man Page

NAMEINDEX(3)						       MBK UTILITY FUNCTIONS						      NAMEINDEX(3)

NAME
nameindex - concatenate a name and index with user separator ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mut.h" char *nameindex(s, i) char *s; long i; PARAMETERS
s Pointer to a string t Long integer DESCRIPTION
The nameindex function adds the separator defined by MBK_SEPAR(1), and then the string version of i at the end of string s. This is not like a strcat(3) of the standard library, because s is not beeing modified. The string returned has already been put in the names dictionary by a call to namealloc(3). RETURN VALUE
nameindex returns a pointer to a string in the name hash table. EXAMPLE
#include "mut.h" #include "mlo.h" void a_sig_name(ptsig) losig_list *ptsig; { return pt->NAMECHAIN ? (char *)(pt->NAMECHAIN->DATA) : nameindex("mbk_sig", pt->INDEX); } SEE ALSO
mbk(1), namealloc(3), MBK_SEPAR(1). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 NAMEINDEX(3)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

meaning of columns in the result of executing 'ls -l'

Hello all, I do not understand the meaning of some columns in the result of executing 'ls -l'. For example, i got the following result by run 'ls -l' total 3531 -rw-r--r-- 1 root root 1351680 Oct 17 20:50 fileindex.rpm -rw-r--r-- 1 root root 16384 Oct 17 20:50 groupindex.rpm ... (5 Replies)
Discussion started by: cy163
5 Replies

2. Shell Programming and Scripting

Dynamic email attachments

Hi all, I am quite new to Unix shell scripting and I am trying to create a common function to send mail that is capable of adding multiple attachments. The script works if there is only one attachment. But when there is more than one, it just won't work. It gives a syntax message "Usage:... (3 Replies)
Discussion started by: dongzky
3 Replies

3. Shell Programming and Scripting

Using array in script?

Dear all, I have following set of code which I want to modify In the given code, the given PATH535 only accept the single path. I would like to modify it to make it array and should be able to pass several of the path address together. for example like following: PATH535=/pathA/log/A/... (5 Replies)
Discussion started by: emily
5 Replies

4. UNIX for Dummies Questions & Answers

Single Liner for indexing

Hello, This is pretty simple, I`m looking for a faster and better method than brute force that I`m doing. I have a 20GB file looks like Name1,Var1,Val1 Name1,Var2,Val2 Name2,Var1,Val3 Name2,Var2,Val4 I want 3 files. Nameindex 1 Name1 2 Name2 ... (2 Replies)
Discussion started by: senhia83
2 Replies