I always wonder how people can know 'so much' about tput, but lack to know about select and case statements.
Actualy, its not a selection yet, as the user could write just anything.
Just as an addition to Robin, a select statement which uses a case statement.
Hope this helps
Simon
NOTE: This might not present the 'options' that nice as with tput, but it also works well with diffrent terminal-window screensizes.
first off, i am new to unix so please bear with me. i was reading somewhere that if your i-nodes get critical that it can slow your network down. what are i-nodes and when do they become a critical number? this is what mine states:
/ (/dev/root ): 777058 blocks 569290 i-nodes... (4 Replies)
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Hi folks,
I'm a bit of a novice at this but here goes. I want to read in nodes from an XML file, and map the path to each.
eg the file is structured
<node><nodename>.</nodename>
<node><nodename>topnode</nodename>
<node><nodename>subnode1</nodename></node>
... (1 Reply)
Dear all,
I am bit confused lately, I have a xmlfile here:
file: book.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
... (2 Replies)
hello Gurus,
My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same.
My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Hello All,
Anybody knows how can I run script on the AIX HACMP offline node, without logon a offline node?
I would like to run a script on the online node and at same time or after the online node on the offline node.
Any IDEA? :confused: (3 Replies)
I am new to cluster commands. But I have tried utilizing: -pe, but I do not know my parallel computing environment. We are running SGE, is there a simpler command to request more nodes?
also: qsub -N auto -M name@email.com -m abe auto.sh
does not email me at all.
Help would be appreciated (0 Replies)
Hi all. I have two nodes taken different places. They are connected together on a network. So, i have a service, it works on one of nodes and when the node is unavailable the service should will be launched on other node.
Solution: rhel cluster, keepalive, hearbeat...may be Carp
but what if... (2 Replies)
Hello to all,
I'd like to tabulate the content of the XML file below, I've been trying with AWK putting the Top node (<KIND>) as RS and so far I'm able to print the first and second field of each record, but I don't know how to continue with the following nodes that have more inner nodes.
The... (4 Replies)
Discussion started by: Ophiuchus
4 Replies
LEARN ABOUT DEBIAN
yaz-asncomp
YAZ-ASNCOMP(1) Commands YAZ-ASNCOMP(1)NAME
yaz-asncomp - YAZ ASN.1 compiler
SYNOPSIS
yaz-asncomp [-v] [-c cfile] [-h hfile] [-p pfile] [-d config] [-I includeout] [-i includedir] [-m module] [filename]
DESCRIPTION
yaz-asncomp is an ASN.1 compiler that reads an ASN.1 specification in filename and produces C/C++ definitions and BER encoders/decoders for
it.
The produced C/C++ code and header files uses the ODR module of YAZ which is a library that encodes/decodes/prints BER packages.
yaz-asncomp allows you to specify name of resulting source via options. Alternatively, you can specify a DEFINISIONS file, which provides
customized output to many output files - if the ASN.1 specification file consists of many modules.
This utility is written in Tcl. Any version of Tcl should work.
OPTIONS -v
Makes the ASN.1 compiler print more verbose about the various stages of operations.
-c cfile
Specifies the name of the C/C++ file with encoders/decoders.
-h hfile
Specifies the name of header file with definitions.
-p pfile
Specifies the name of the a private header file with definitions. By default all definitions are put in header file (option -h).
-d dfile
Specifies the name of a definitions file.
-I iout
Specifies first part of directory in which header files are written.
-i idir
Specifies second part of directory in which header files are written.
-m module
Specifies that ASN.1 compiler should only process the module given. If this option is not specified, all modules in the ASN.1 file are
processed.
DEFINITIONS FILE
The definitions file is really a Tcl script but follows traditional rules for Shell like configuration files. That is # denotes the
beginning of a comment. Definitions are line oriented. The definitions files usually consists of a series of variable assignments of the
form:
set name value
Available variables are:
default-prefix
Sets prefix for names in the produced output. The value consists of three tokens: C function prefix, C typedef prefix and preprocessor
prefix respectively.
prefix(module)
This value sets prefix values for module module. The value has same form as default-prefix.
filename(module)
Specifies filename for C/header file for module module.
init(module,h)
Code fragment to be put in first part of public header for module module.
body(module,h)
Code fragment to be put in last part of public header for module module (trailer).
init(module,c)
Code fragment to be put in first part of C based encoder/decoder for module module.
body(module,c)
Code fragment to be put in last part of C based encoder/decoder for module module (trailer).
map(module,name)
Maps ASN.1 type in module module of name to value.
membermap(module,name,member)
Maps member member in SEQUENCE/CHOICE of name in module module to value. The value consists of one or two tokens. First token is name
of C preprocessor part. Second token is resulting C member name. If second token is omitted the value (one token) is both preprocessor
part and C struct,union.
unionmap(module,name,member)
Maps member member in CHOICE of name in module module to value. Value consists of to or three tokens. The first token is name of the
integer in the union that is used as selector for the union itself. The second token is name of the union. The third token overrides
the name of the CHOICE member; if omitted the member name is used.
FILES
/usr/share/yaz/z39.50/z.tcl
/usr/share/yaz/z39.50/*.asn
SEE ALSO yaz(7)
Section "The ODR Module" in the YAZ manual.
YAZ 4.2.30 04/16/2012 YAZ-ASNCOMP(1)