I ran into this issue and thanks to various postings in various forums, was
able to figure out the solution but didn't see one posting that laid the
whole issue out cleanly. So thought the following might help others ...
------------------------------------------------------------------------... (2 Replies)
Hi Experts,
I have written simple perl script, which assign the value to variable and print it. Following is the script:
$ cat 3.pl
#!/usr/bin/env ksh
#!/usr/bin/perl
print "Hello World";
$iputlne = 34;
print $iputlne;
The error output is:
$ /usr/bin/env perl 3.pl
Hello World... (9 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
I have written a simple script to show battery life remaining. I would like to be able to quickly view it with a predefined keybinding or launcher.
xterm -e scriptname should do the trick but the xterm closes when the script finishes, not giving me chance to read the output. How can I keep... (3 Replies)
Hi,
I am trying to configure SEC - Simple Event Correlator to analyze the logs.
Just wondering if any of you have used this before? If yes, can you help by showing few of the rules you created?
Thanks. (1 Reply)
Hi,
I need to run a script whenever a user logs in to HP-UX unix server.
Please let me know how can i implement this.
I need to run this script on login for all users starting with 'X' ( x110,x112,x13545, etc).
Thanks a lot. (2 Replies)
Hi All,
How can i run a single command on multiple servers with or without giving credentials.
I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server.
I tried below code... (9 Replies)
Discussion started by: darling
9 Replies
LEARN ABOUT MINIX
pnmtoddif
pnmtoddif(1) General Commands Manual pnmtoddif(1)Name
pnmtoddif - Convert a portable anymap to DDIF format
Syntax
pnmtoddif pnmtoddif [-resolution x y] [pnmfile [ddiffile]]
OPTIONS
resolution x y The horizontal and vertical resolution of the output image in dots per inch. Defaults to 78 dpi.
pnmfile The filename for the image file in pnm format. If this argument is omitted, input is read from stdin.
ddiffile The filename for the image file to be created in DDIF format. If this argument is omitted, the ddiffile is written to stan-
dard output. It can only specified if a pnmfile is also specified.
DESCRIPTION
pnmtoddif takes a portable anymap from standard input and converts it into a DDIF image file on standard output or the specified DDIF file.
pbm format (bitmap) data is written as 1 bit DDIF, pgm format data (greyscale) as 8 bit greyscale DDIF, and ppm format data is written as
8,8,8 bit color DDIF. All DDIF image files are written as uncompressed. The data plane organization is interleaved by pixel.
In addition to the number of pixels in the width and height dimension, DDIF images also carry information about the size that the image
should have, that is, the physical space that a pixel occupies. PBMPLUS images do not carry this information, hence it has to be externally
supplied. The default of 78 dpi has the beneficial property of not causing a resize on most Digital Equipment Corporation color monitors.
AUTHOR
Burkhard Neidecker-Lutz
Digital Equipment Corporation, CEC Karlsruhe
neideck@nestvx.enet.dec.com
pnmtoddif(1)