I am attempting to itterate through a file that has multiple lines and for each one read the entire line and use the value then to search in other files. The problem is that instead of an entire line I am getting each word in the file set as the value I am searching for. For example in File 1... (2 Replies)
Hi All, I really need your help. I am a begginner in shell script and I believe this is a very simple issue.
I have in my directory, n-files, like 1.dhm, 2.dhm, 3.dhm.
These files have 1 column with 1 value per line, like:
1.dhm
------
10
20
30
40
50
2.dhm
------
30
50
20 (3 Replies)
Hello, I'm trying to create a BASH file that can read all the files in my working directory and tell me how many words and lines are in that file. I wrote the following code:
FILES="*"
for f in "$FILES"
do
echo -e `wc -l -w $f`
done
My issue is that my file is outputting in one... (4 Replies)
I'm learning about the read command and wrote this little script to read data from a file:
readfile()
{
while read variable; do
echo $variable
done
}
readfile < File.txt
I have three lines in File.txt; each a single word. The script only echoes the first two lines and drops the... (9 Replies)
Hello,
I have 50 text files in a directory called "AllFiles"
I want to make a program that will go inside of the "AllFiles" Directory and count the number of lines in each individual text file. Then, the program will calculate how many more lines there are over 400 in each text file and... (7 Replies)
For eg: I have sample.txt file with 4 rows of record like:
user1|password1
user2|password2
user3|password3
user4|password4
The username and password is sepsrated by '|'
I want to get the 1st row value from the file and assign it to two different variables(username and password)
in my... (1 Reply)
Hey everyone!
I have a tab delimited data set which I want to create an output contained the calculation of number of those lines with a certain value in 2nd and 3rd column.
my input file is like this:
ID1 1 10M AAATTTCCGG
ID2 5 4M ACGT
ID3 5 8M ACCTTGGA
ID4 5 ... (7 Replies)
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...
if (start_new_rec=="true"){
exclude_user="false";
user=toupper($6);
match(user, "XXXXX.");
if (RSTART ==2 ) {
... (9 Replies)
Hi ,
I have a property file placed in folder /usr/opt/temp/aorc.prop which has values given below . I need to read this file content and replace the node with actual values in a shell script . Each time the script shall replace the node value from the poperty file and execute a cfsend command and... (10 Replies)
Dears,
Need help to implement below requirement
A file (detail.txt)contain :
1st column: Stream
2nd column: PathAddress
3rd column: Counterlimit
4th column: TransactionDateColumn
5th column: DateType
6th column: SleepValue
7th column: Status
Need to write a... (1 Reply)
Discussion started by: sadique.manzar
1 Replies
LEARN ABOUT MOJAVE
schemagen
schemagen(1) General Commands Manual schemagen(1)NAME
schemagen - Java(TM) Architecture for XML Binding Schema Generator Specification Version: 2.0
Reference Implementation (RI) Version: 2.0 ea3
Launching schemagen
The schema generator can be launched using the appropriate schemagen shell script in the bin directory for your platform.
The current schema generator can process either Java source files or class files.
We also provide an Ant task to run the schema generator - see the instructions for using schemagen with Ant.
For Solaris/Linux
% path/to/jaxb/bin/schemagen.sh Foo.java Bar.java ...
Note: Writing schema1.xsd
For WindowsNT/2000/XP
> path ojaxbinschemagen.bat Foo.java Bar.java ...
Note: Writing schema1.xsd
If your java sources/classes reference other classes, they must be accessable on your system CLASSPATH environment variable, or they need
to be given to the tool by using the -classpath/-cp options. Otherwise you will see errors when generating your schema.
Command Line Options
Usage: schemagen [-options ...] <java files>
Options:
-d <path> : Specify where to place processor and javac generated class files
-cp <path> : Specify where to find user specified files
-classpath <path> : Specify where to find user specified files
-help : Display this usage message
Generated Resource Files
The current schema generator simply creates a schema file for each namespace referenced in your Java classes. There is no way to control
the name of the generated schema files at this time. For that purpose, use the schema generator ant task.
See Also
o JAXB 2.0:
* Release Notes @
http://java.sun.com/webservices/docs/2.0/jaxb/ReleaseNotes.html
* XJC @
http://java.sun.com/webservices/docs/2.0/jaxb/xjc.html
* XJCTask @
http://java.sun.com/webservices/docs/2.0/jaxb/xjcTask.html
* SchemaGen @
http://java.sun.com/webservices/docs/2.0/jaxb/schemagen.html
* schemagenTask @
http://java.sun.com/webservices/docs/2.0/jaxb/schemagenTask.html
* Sample Apps @
http://java.sun.com/webservices/docs/2.0/jaxb/samples.html
* Changelog @
http://java.sun.com/webservices/docs/2.0/jaxb/changelog2.html
o JAXB 1.0.x:
* Release Notes @
http://java.sun.com/webservices/docs/2.0/jaxb/jaxb-1_0.html
* Changelog @
http://java.sun.com/webservices/docs/2.0/jaxb/changelog.html
o JAXB RI Extensions:
* Runtime Properties @
http://java.sun.com/webservices/docs/2.0/jaxb/vendorProperties.html
* XJC Customizations @
http://java.sun.com/webservices/docs/2.0/jaxb/vendorCustomizations.html
* Develop Plugins @
http://java.sun.com/webservices/docs/2.0/jaxb/developPlugins.html
o JAXB RI Schema Languages:
* W3C XML Schema @
http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#xschema
* RELAX NG @
http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#relaxng
* DTD @
http://java.sun.com/webservices/docs/2.0/jaxb/vendorSchemaLangs.html#dtd
o JAXB Community:
* Java.net Homepage @
http://jaxb.dev.java.net
* Developer interest list @
https://jaxb.dev.java.net/servlets/ProjectMailingListList
* FAQ @
https://jaxb.dev.java.net/faq/index.html
07 Aug 2006 schemagen(1)