02-03-2010
thanks a bunch!!! it works
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm curious, how would I set validation on a field size to make sure it only ever accepts a 6 digit number?
I currently have validation for it to be an integer in place but can't find anywhere that says how to make it only a length of 6 digits.
any tips on the function I should be focussing... (1 Reply)
Discussion started by: nortypig
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to know whether a port is being used by some application.
What is the command for the same??
Regards,
Chaitrali. (1 Reply)
Discussion started by: Chaitrali
1 Replies
3. Shell Programming and Scripting
hi,
i am facing a problem in merging two files using awk,
the problem is as stated below,
file1:
A|B|C|D|E|F|G|H|I|1
M|N|O|P|Q|R|S|T|U|2
AA|BB|CC|DD|EE|FF|GG|HH|II|1
....
....
....
file2 :
1|Mn|op|qr (2 Replies)
Discussion started by: shashi1982
2 Replies
4. Shell Programming and Scripting
Hi Everyone,
I am facing a problem regarding the select from sybase, the return with the incorrect size.
For example, field is NAME(20).
After i selected from sybase, the result is nicky.
after i assign it to another declaration variable, it will be in actual name "nicky" , what i need... (10 Replies)
Discussion started by: ryanW
10 Replies
5. OS X (Apple)
I understand how to lock down things with the finder in workgroup manager, but for matching commands outside of the workgroup manager realm, what's the best way to insert script in order to disable any one of these features?
Features workgroup manager highlights:
-connect to server
-shut... (4 Replies)
Discussion started by: unimachead
4 Replies
6. OS X (Apple)
How can I add a right-click option where I can add my own programs and script to finder? (4 Replies)
Discussion started by: codecaine
4 Replies
LEARN ABOUT PHP
ppmquantall
ppmquantall(1) General Commands Manual ppmquantall(1)
NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap
SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ...
DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new
ones, and overwrites the input files with the new quantized versions.
If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a
period and the extension text you specify.
Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can
only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this
problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run
ppmquant on that, and then split it up into little pixmaps again.
(Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize
each pixmap to that set.)
SEE ALSO
ppmquant(1), ppm(5)
AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
27 July 1990 ppmquantall(1)