10 More Discussions You Might Find Interesting
1. Programming
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
2. HP-UX
Hi,
I have written a simple program of 2 lines in C to load a library using SHL_LOAD.
It fails with error "/usr/lib/hpux32/dld.so: Unable to find library 'xyz.sl'.
Load failure for library , ERRNO = 2"
Shlib_PATH,LD_LIBRARY_PATH,PATH,LD_PRELOAD are set correctly and library exists on the... (0 Replies)
Discussion started by: ashwinichavan
0 Replies
3. Programming
Not sure in which forum to post this. I'm trying here, in Programming.
I'm working on a PC with Intel Duo processor & 2GB of ram. OS is Ubuntu 10.04.
I'm having problems with a C++ program that makes extensive use of realloc(). It happens that as soon as the overall memory allocated(OS +... (14 Replies)
Discussion started by: mamboknave
14 Replies
4. Programming
Hi all
I'm trying to use someone else's software, which has a realloc that fails in it. This is probably due to memory limitations, as it only happens when I use this software on huge datasets.
First question : how to diagnose if it's a soft or hard limitation? I mean, if it's due to my... (10 Replies)
Discussion started by: jossojjos
10 Replies
5. Programming
Hi,
I am seeing varying results about, when realloc() fails in reallocation.
Which one is correct out of the below?
a) realloc() maintains the original pointer (i.e) the original pointer is left unaltered/untouched but relloc() returns the NULL value.
b) original buffer pointer is lost... (3 Replies)
Discussion started by: royalibrahim
3 Replies
6. Shell Programming and Scripting
i have a script like below, i am trying to print "...." until a background process that was executed before is running,, the below does work and teh loop keeps on printing "..", can someone help where i am wrong.
/tmp/test/abc.sh &
until
do
echo "..\c"
done
abc.sh is the scipt... (8 Replies)
Discussion started by: yesmani
8 Replies
7. Programming
Hi,
I have the following code which fails with return value 1.
sprintf(tmp, "rm -rf %s/* 2>/dev/null\n", dest);
rc = system( tmp );
rc is 1
The files exist and the paths are correct. I can do a manual copy but the application fails. All the calls to system() function fail with the same... (6 Replies)
Discussion started by: mspaper
6 Replies
8. AIX
Hi,
I got a unix script which copies a file from my AIX machine to a file server using SCP command. I am calling this script 3 times in my process after a time interval say 5mins. My issue here is like most of the time its not sending the file at the first time run while other 2 will work fine.... (10 Replies)
Discussion started by: vipinc
10 Replies
9. Shell Programming and Scripting
Hi,
I am trying to install a package on solaris and one of the packaging scripts fail unexpectedly. There is a script called "checkinstall" which checks for the /opt space and aborts the installation if /opt is less than 100MB. In my case, even if /opt has enoguh space, the script fails.
... (8 Replies)
Discussion started by: JStone
8 Replies
10. UNIX for Advanced & Expert Users
Hi Exprts,
There's a critical problem on one of the Workstations that the client reports every morning their system is down.
It seems there's no power failure, as in the next startup the file systems are stable ,so i checked the "messages" file , the last line which i got before failure is :... (2 Replies)
Discussion started by: nikk
2 Replies
SDF2FPS(1) User Commands SDF2FPS(1)
NAME
sdf2fps - sdf2fps
DESCRIPTION
usage: sdf2fps [-h] [--id-tag TAG] [--fp-tag TAG] [--num-bits INT]
[--errors {strict,report,ignore}] [-o FILENAME] [--software TEXT] [--type TEXT] [--decompress METHOD] [--binary] [--binary-msb]
[--hex] [--hex-lsb] [--hex-msb] [--base64] [--cactvs] [--decoder DECODER] [--pubchem] [filenames [filenames ...]]
Extract a fingerprint tag from an SD file and generate FPS fingerprints
positional arguments:
filenames
input SD files (default is stdin)
optional arguments:
-h, --help
show this help message and exit
--id-tag TAG
get the record id from TAG instead of the first line of the record
--fp-tag TAG
get the fingerprint from tag TAG (required)
--num-bits INT
use the first INT bits of the input. Use only when the last 1-7 bits of the last byte are not part of the fingerprint. Unexpected
errors will occur if these bits are not all zero.
--errors {strict,report,ignore}
how should structure parse errors be handled? (default=strict)
-o FILENAME, --output FILENAME
save the fingerprints to FILENAME (default=stdout)
--software TEXT
use TEXT as the software description
--type TEXT
use TEXT as the fingerprint type description
--decompress METHOD
use METHOD to decompress the input (default='auto', 'none', 'gzip', 'bzip2')
Fingerprint decoding options:
--binary
Encoded with the characters '0' and '1'. Bit #0 comes first. Example: 00100000 encodes the value 4
--binary-msb
Encoded with the characters '0' and '1'. Bit #0 comes last. Example: 00000100 encodes the value 4
--hex Hex encoded. Bit #0 is the first bit (1<<0) of the first byte. Example: 01f2 encodes the value x01xf2 = 498
--hex-lsb
Hex encoded. Bit #0 is the eigth bit (1<<7) of the first byte. Example: 804f encodes the value x01xf2 = 498
--hex-msb
Hex encoded. Bit #0 is the first bit (1<<0) of the last byte. Example: f201 encodes the value x01xf2 = 498
--base64
Base-64 encoded. Bit #0 is first bit (1<<0) of first byte. Example: AfI= encodes value x01xf2 = 498
--cactvs
CACTVS encoding, based on base64 and includes a version and bit length
--decoder DECODER
import and use the DECODER function to decode the fingerprint
shortcuts:
--pubchem
decode CACTVS substructure keys used in PubChem. Same as --software=CACTVS/unknown --type 'CACTVSE_SCREEN/1.0 extended=2'
--fptag=PUBCHEM_CACTVS_SUBSKEYS --cactvs
sdf2fps 1.0 June 2012 SDF2FPS(1)