why do inode indices starts from 1 unlike array indexes which starts from 0
its a question from "the design of unix operating system" of maurice j bach
id be glad if i get to know the answer quickly
:) (0 Replies)
brothers why inode index starts from 1 unlike array inex which starts from 0
its a question from the design of unix operating system of maurice j.bach
i need to know the answer urgently...someone help please (1 Reply)
I am beginner in awk
awk 'BEGIN{for(i=1;(getline<"opnoise")>0;i++) arr=$1}{print arr}'
In the above script, opnoise is a file, I am reading it into an array and then printing the value corresponding to index 20. Well this is not my real objective, but I have posted this example to describe... (19 Replies)
Example - Script to find the index of a month from array
MONTHS="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
set -A MON $MONTHS
A="Sun May 23 09:34:30 GMT 2010"
getMonth=`echo $A|cut -c5-7` ##getMonth=May
Arrayindex_in_MONTHS_array= ???? # { 0,1,2,3,4 } - at fifth place
... (7 Replies)
Hi,
I am using KSH shell to do some programming.
I want to search array and print index value of the array.
Example..
nodeval4workflow="DESCRIPTION ="" ISENABLED ="YES" ISVALID ="YES" NAME="TESTVALIDATION"
set -A strwfVar $nodeval4workflow
strwfVar=DESCRIPTION=""... (1 Reply)
Hi all,
In bash, is there any way of searching an array and returning the index?
For example, how could I write a script that would do the following:
>> search note_array=(C D E F G A B) for F
return the value 3 (or 4)
Thanks,
R (5 Replies)
I am trying to reformat the table by filling any missing rows. The final table will have consecutive IDs in the first column. My problem is the index of the associate array in the awk script.
infile:
S01 36407 53706 88540
S02 69343 87098 87316
S03 50133 59721 107923... (4 Replies)
Hi,
tab-separated input:
blabla_1 A,B,C,C
blabla_2 A,E,G
blabla_3 R,Q,A,B,C,R,Q
output:
blabla_1 3
blabla_2 3
blabla_3 5
After splitting $2 in an array, I am trying to store the number of unique elements in a variable, but have some difficulties resetting the variable to 0 before... (6 Replies)
Hello,
I want to see if element exists in array, if so then, check it's corresponding value.
Column 4 is position and column 1 is the chromosome for it. There are duplicates for one position on one chromosome.
I want to check if same position exists on different chromosome:
Data... (8 Replies)
Discussion started by: genome
8 Replies
LEARN ABOUT DEBIAN
xml2brl
XML2BRL(1) User Commands XML2BRL(1)NAME
xml2brl - Translate an xml or a text file into an embosser-ready Braille file.
SYNOPSIS
xml2brl [OPTION] [inputFile] [outputFile]
DESCRIPTION
Translate an xml or a text file into an embosser-ready braille file. This includes translation into grade two, if desired, mathematical
codes, etc. It also includes formatting according to a built-in style sheet which can be modified by the user.
If inputFile is not specified or '-' input is taken from stdin. If outputFile is not specified the output is sent to stdout.
-h, --help
display this help and exit
-v, --version
display version information and exit
-f, --config-file
name a configuration file that specifies how to do the translation
-b, --backward
backward translation
-r, --reformat
reformat a braille file
-p, --poorly-formatted
translate a poorly formatted file
-t, --html
html document, not xhtml
-C, --config-setting
specify particular configuration settings They override any settings that are specified in a config file
-l, --log-file
write errors to log file instead of stderr
AUTHOR
Written by John J. Boyer.
REPORTING BUGS
Report bugs to <john.boyer@abilitiessoft.com>.
COPYRIGHT
Copyright (C) 2009 ViewPlus Technologies, Inc. and JJB Software, Inc. License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for xml2brl is maintained as a Texinfo manual. If the info and xml2brl programs are properly installed at your
site, the command
info liblouisxml
should give you access to the complete manual.
xml2brl (liblouisxml) 2.4.0 June 2012 XML2BRL(1)