perl regexp error , I cant understand what is wrong
Hello all
I have simple perl regexp that is searching for pattern in string and replace it with the same string + addition string
here is what I have :
my $rec = q| new Array("Attributes Management" ... (4 Replies)
I'm Using this script to find the time of a file. I'm very much new to PERL
and found this script posted by some one on this forum.
It runs perfectly fine, just that it gives me following errors with the
accurate output as well. I jus want the output to be stored in another file
so that i can... (0 Replies)
Hello,
after upgrading the memory to 96GB & 6 Dual Processor for P 550 ( and still not applied the parameters which some experienced posters said in post https://www.unix.com/aix/141835-oracle-database-running-slow-aix-nmon-topas-6.html )
I am getting system dumps. How to understand and... (1 Reply)
I'm just trying to confirm that I understand someone's code correctly.
If someone has code that says:
$foo ||= mysub();
I'm assuming that it means if $foo is nothing or undef, then assign it some value via mysub(). If I'm wrong on this, please let me know.
Also, what's the difference... (4 Replies)
#!/usr/bin/perl
use strict;
use warnings;
print "Demo of array slicing \n";
my @abc="a b c d e f g h i j k l m n o p q r s t u v w x y z";
my @a=@abc;
my @random=@abc;
my @comp=@abc;
my @comp1=(@abc,"Hello",@abc);
print "abc is @abc \n";
print "a is @a \n";
print "random is @random \n";... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
I am trying to convert a C language program over to Sparc Assembley and I am getting Undefined first referenced... (4 Replies)
I have this peice of code I was hoping someone could look at. I use valgrind ./a.out to test it and it comes up with errors but none that I can understand.
Maybe someone here could help me.
The code is here:
Neo - Pastbin Link Removed - Do Not Use Pastebin in these Forums (12 Replies)
I am writing a program, and want to have the option for the program to
continue execution even should things go wrong. I use an option --ignore-errors.
The problem is what I do when an error occurs, set the values to zero, or fill them up with some values, for example taken from a simple unit... (3 Replies)
I am trying to begin to troubleshoot this perl error that I keep getting, yet I get output is produced. The error is Use of uninitialized value in join or string line 175, <MANNO> line 7138 and below is line 175:
I am not too sure what the error is but since not every line has an error on it, I... (1 Reply)
I have a file with two line, one is header, the other actual value:
TYPCD|ETID2|ETID|LEG ID|PTYP|PTYP SUB|TRD STATUS|CXL REASON|CACT|CACTNM|ENCD|ENC
D NM|TRDR|ASDT|TRDT|MTDT|STDT|LS|SECID|SECID TYP|SECNM|PAR|STCC|MARKET PRICE|DIS
MARKET PRICE|MARKET PRICE CURRENCY|SRC OF SETTLEMENT... (2 Replies)
Discussion started by: digioleg54
2 Replies
LEARN ABOUT DEBIAN
pegasus-dax-validator
PEGASUS-DAX-VALIDA(1)PEGASUS-DAX-VALIDA(1)NAME
pegasus-dax-validator - determines if a given DAX file is valid.
SYNOPSIS
pegasus-dax-validator daxfile [verbose]
DESCRIPTION
The pegasus-dax-validator is a simple application that determines, if a given DAX file is valid XML. For this, it parses the file with as
many XML validity checks that the Apache Xerces XML parser framework supports.
OPTIONS
daxfile
The location of the file containing the DAX.
verbose
If any kind of second argument was specified, not limited to the string verbose, the verbose output mode is switched on.
RETURN VALUE
If the DAX was parsed successfully, or only warning's were issued, the exit code is 0. Any 'error or fatal error will result in an exit
code of 1.
Additionally, a summary statistics with counts of warnings, errors, and fatal errors will be displayed.
EXAMPLE
The following shows the parsing of a DAX file that uses the wrong kind of value for certain enumerations. The output shows the errors with
the respective line number and column number of the input DAX file, so that one can find and fix them more easily. (The lines in the
example were broken to fit the manpage format.)
$ pegasus-dax-validator bd.dax
ERROR in line 14, col 110: cvc-enumeration-valid: Value 'i386' is not
facet-valid with respect to enumeration '[x86, x86_64, ppc, ppc_64,
ia64, sparcv7, sparcv9, amd64]'. It must be a value from the
enumeration.
ERROR in line 14, col 110: cvc-attribute.3: The value 'i386' of
attribute 'arch' on element 'executable' is not valid with respect to
its type, 'ArchitectureType'.
ERROR in line 14, col 110: cvc-enumeration-valid: Value 'darwin' is
not facet-valid with respect to enumeration '[aix, sunos, linux, macosx,
windows]'. It must be a value from the enumeration.
ERROR in line 14, col 110: cvc-attribute.3: The value 'darwin' of
attribute 'os' on element 'executable' is not valid with respect to
its type, 'OSType'.
0 warnings, 4 errors, and 0 fatal errors detected.
SEE ALSO
Apache Xerces-J http://xerces.apache.org/xerces2-j/
AUTHORS
Jens-S. Vockler <voeckler at isi dot edu>
Pegasus Team http://pegasus.isi.edu/
05/24/2012 PEGASUS-DAX-VALIDA(1)