Hello ,
I have the folowing scenario :
I have a text file as follows : (say name.txt)
ABC
DEF
XYZ
And I have one more xml file as follows : (say somexml.xml)
<Name>ABC</Name>
<Age>12</Age>
<Class>D</Class>
<Name>XYZ</Name>
<Age>12</Age>
<Class>D</Class>
<Name>DEF</Name>... (7 Replies)
Might anyone know how to make a nbsp (160|0xA0) character? I am using a Dell Latitude D620 running Windows XP and then starting Exceed 9.0 defaulting to native window emulation for my X (us.kbf keymapping) (Latin-1 symbol set I believe) and calling an xterm (fontdefault, whatever that might be)... (1 Reply)
Hi All,
Today when I was working on a script to generate custom wordlist. So I ran a script and the output was directed to /tmp.
The disk space was around 19 gb. While the script was running, I decided to direct the o/p file to my 1TB drive. So I broke the run using Ctrl + C.
Now when I... (4 Replies)
Hi,
I have a space delimited text file that looks like the following:
BUD31 YRI 2e-06:CXorf15 YRI 3e-06:CREB1 YRI 4e-06
FLJ21438 CEU 3e-07:ETS1 CEU 8e-07:FGD3 CEU 2e-06
I want to modify the text file so that everytime there is a ":", a new line is introduced so that the document looks... (3 Replies)
This code shal search for the non-breaking space 0xA0 though it returns the error "fatal: attempt to use scalar 'nbs' as array" Can somebody help?
awk --non-decimal-data -v nbs="0xA0" '{if($0 in nbs) {print FILENAME, NR}}' *.txt (1 Reply)
Hi,
I have a file which contains many lines. Some of them are longer than 50 chars. I want to break those lines but I don't want to break words, e.g. the file
This is an exemplary text which should be broken aaaaaa bbbbb ccccc
This is the second line
This line should also be broken... (3 Replies)
My source file is pipe delimeted file with 53 fields.In 33 rd column i am getting mutlple new line characters,dule to that record is breaking into multiple records.
Note : here record delimter also \n
sample Source file with 6 fields :
1234|abc| \nabcd \n bvd \n cde \n |678|890|900\n
... (6 Replies)
Hi,
I have a shell script which automates reporting and at times, requires the report line to be very long (sometimes as long as 2131 chars). The output I get is similar to this:
XXXX XXXXXXX 16:15 3.24% 5.07% 3.69% 5.23% 3.68% 4.06% 3.57% 5.03% 4.31% 5.11% 3.49% 4.19% 4.31% ... (2 Replies)
Discussion started by: gilberteu
2 Replies
LEARN ABOUT DEBIAN
pyste
PYSTE(1) User Commands PYSTE(1)NAME
Pyste - Boost.Python code generator
SYNOPSIS
pyste [options] interface-files
DESCRIPTION
Pyste is a Boost.Python code generator. The user specifies the classes and functions to be exported using a simple interface file which,
following the Boost.Python's philosophy, is simple Python code. Pyste then uses GCCXML to parse all the headers and extract the necessary
information to automatically generate C++ code.
--module=<name>
The name of the module that will be generated; defaults to the first interface filename, without the extension.
-I <path>
Add an include path
-D <symbol>
Define symbol
--multiple
Create various cpps, instead of only one (useful during development)
--out=<name>
Specify output filename (default: <module>.cpp) in --multiple mode, this will be a directory
--no-using
Do not declare "using namespace boost"; use explicit declarations instead
--pyste-ns=<name>
Set the namespace where new types will be declared; default is the empty namespace
--debug
Writes the xml for each file parsed in the current directory
--cache-dir=<dir>
Directory for cache files (speeds up future runs)
--only-create-cache
Recreates all caches (doesn't generate code).
--generate-main
Generates the _main.cpp file (in multiple mode)
--file-list
A file with one pyste file per line. Use as a substitute for passing the files in the command line.
--gccxml-path=<path>
Path to gccxml executable (default: gccxml)
--no-default-include
Do not use INCLUDE environment variable for include files to pass along gccxml.
-h, --help
Print this help and exit
-v, --version
Print version information
SEE ALSO
The full documentation for Pyste is maintained in HTML format. If you have the libboost-doc package installed, the manual starts at
/usr/share/doc/libboost-doc/HTML/libs/python/pyste/index.html
Pyste version 0.9.30 March 2008 PYSTE(1)