09-30-2016
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have data that looks like this
aaa!bbb!ccc/ddd/eee
It is not fixed format. I need to parse ddd into a var in order to decide if I want to process that row. If I do I need to put ccc and bbb into vars to process it. I need to do this during a while loop one record at a time. Any... (11 Replies)
Discussion started by: gillbates
11 Replies
2. Programming
i am trying to use the history functions in a c++ program along with a custom signal handler for SIGINT.
the prog works fine catching signals without the line:
add_history(*args);
but as soon as this line is added, the prog segfaults on SIGINT.
does anyone have experience using gnu... (2 Replies)
Discussion started by: a1g0rithm
2 Replies
3. UNIX for Dummies Questions & Answers
Hello, sorry if this has been posted before but i was wondering if there is a way to run a program until a segmentation fault is found.
Currently i'm using a simple shell script which runs my program 100 times, sleeps 1 second because srand(time(0)) is dependent on seconds. Is there a possible... (1 Reply)
Discussion started by: aslambilal
1 Replies
4. Solaris
We have a Solaris 8 server which users login to via VNC to get a desktop. On that desktop these users use Netscape Communicator 4.9 to access a very important mail account. Unfortunately Netscape has started segfaulting regularly.
Does anyone have any ideas how I can try to find out what point... (1 Reply)
Discussion started by: aussieos
1 Replies
5. Programming
1. Even if i have the handles for ctrl+c it gives off a segfault
2. syslog doesn't log LOG_ERR event with log masked specified or non specified, it logs LOG_WARNING however...
#include <sys/types.h> /* include this before any other sys headers */
#include <sys/stat.h>
#include <fcntl.h>... (2 Replies)
Discussion started by: james2432
2 Replies
6. Programming
Hello everyone,
I'm writing a program using the id3lib unfortunately I've encountered with memory issue that cause segmentation fault. I tried to rerun and analyze the program with valgrind but it doesn't point me anywhere. I really stuck on this one.
Valgrind output:
==14716== Invalid read of... (2 Replies)
Discussion started by: errb
2 Replies
7. Programming
I have a program that allows users to specify the debug log file location and name.
I have tried using the access() and stat() but they both segfault if the drive say (d:\) is invalid. Both seem to be fine if the drive exists.
Could someone please point me in the direction to a function that... (1 Reply)
Discussion started by: robfwauk
1 Replies
8. Programming
hello all,
my question is not about How code can be rewritten, i just wanna know even though i am not using read only memory of C (i have declared str) why this function gives me segfault :wall:and the other code executes comfortably though both code uses same pointer arithmetic.
... (4 Replies)
Discussion started by: zius_oram
4 Replies
9. Programming
I am populating an array of string and print it.
But it going in infinite loop and causing segfault.
char Name = {
"yahoo",
"rediff",
"facebook",
NULL
};
main(int argc, char* argv)
{
int j = 0;
... (7 Replies)
Discussion started by: rupeshkp728
7 Replies
10. Shell Programming and Scripting
Hello:
I have some text output, on SunOS 5.11 platform using KSH:
I am trying to parse out each string within the () for each line.
I tried, as example:
perl -lanF"" -e 'print "$F $F $F $F $F $F"'
But for some reason, the output gets all garbled after the the first fields.... (8 Replies)
Discussion started by: gilgamesh
8 Replies
LEARN ABOUT DEBIAN
pngmeta
PNGMETA(1) General Commands Manual PNGMETA(1)
NAME
pngmeta - extract metadata from Portable Network Graphics (PNG) image files
SYNOPSIS
pngmeta [--soif] [--html] [--xrdf] [--all] [--quiet] [--uri URI] [filename]
DESCRIPTION
The pngmeta filter outputs the metadata from Portable Network Graphics (PNG) format image files in one of these formats:
1. Simple key: value
2. SOIF format (as used by the Harvest system, version 1.4).
As such it can be used as a Summarizer for the Harvest Essence system. It could also be used by other indexers to extract data for
indexing PNG images.
3. HTML page With each element as an element in a descriptive (DL) list
4. XML/RDF With each element as an RDF property on the source URI.
In the absence of options, the program operates as a filter, accepting input from stdin and sending output to stdout. If a single file
name is given, it is assumed to correspond to a PNG file, and is processed.
FORMAT OPTIONS
--soif Format output using (Harvest) SOIF format. This is the default if the program is called PngImage.sum.
--html Format output in HTML, with each field/value as an element in a descriptive (DL) list.
--xrdf Format output in RDF/XML, with each field/value as an element in an rdf:Description block inside the outer rdf:RDF wrapper element.
If an XMLRDFDATA field is found, it is assumed to be RDF/XML content and is emitted in a second rdf:Description block.
OTHER OPTIONS
--all Output all the information about the image size, depth etc. even if not usually printed.
--quiet
Suppress the output of the banner for plain text output. --uri URI Set the URI that is used for the SOIF and XML/RDF outputs. By
default this will be the filename, or "stdin" if this is the program is used as a filter.
--help Show a usage message
--version
Show the program and library versions
FILES
pngmeta executable
SEE ALSO
gif2png(1), libpng(3), pbm(1), pgm(1), pngcheck(1), pngtopnm(1), pnm(5), pnmgamma(1), pnmtopng(1), ptot(1), tiff2png(1), zlib(3)
For information about Harvest and its SOIF format:
http://harvest.cs.colorado.edu/
For PNG
http://www.libpng.org/pub/png/
For libpng library
http://www.libpng.org/pub/png/libpng.html
http://libpng.sourceforge.net
For zlib library
http://www.zlib.net/
AUTHORS
Version 1.11. Dave Beckett, ILRT, University of Bristol, http://purl.org/net/dajobe/
The zlib(3) library required by pngmeta is copyright (C) 1995-1996 Jean-loup Gailly and Mark Adler.
Original UNIX manual page by R. P. C. Rodgers, U.S. National Library of Medicine (rodgers@nlm.nih.gov).
10 March 1998 PNGMETA(1)