01-25-2013
Quote:
Originally Posted by
SkySmart
if the double quotes are meaningless, please provide a better suggestion.
I suggested removing them. Note that your program works the same either way.
The real question is, what was happening in the first place to make a wrong answer when your quotes make no difference? Either your data or your program must have been unexpectedly different in some way.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies
2. UNIX for Dummies Questions & Answers
hello
is there any tool in unix that will indicate if some ip is already taken by other machine? (4 Replies)
Discussion started by: umen
4 Replies
3. Shell Programming and Scripting
Can i write the following script...
$sqlplus -s uname/password @connectingstring
select emp_id,emp_name from employees > a.csv
quit
$mailx -s fga@ds.com < a.csv
$ (2 Replies)
Discussion started by: anupdas
2 Replies
4. Shell Programming and Scripting
Hi,
I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop.
I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies
5. UNIX for Advanced & Expert Users
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies
6. Shell Programming and Scripting
Dear,
I want to check if the file in the if code is there, but I don't know how to do it?
if
Can someone assist me please?
Thanks!
kopie()
{
echo " Geef de naam van bestand + plaats vanwaar gekopieerd moet worden en waarnaar : "
echo -n " Plaats : "
read plaats
... (7 Replies)
Discussion started by: yadeki
7 Replies
7. Shell Programming and Scripting
Hi
Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI
---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM ----------
Do you have NAnt tasks that allow us to access Evolution from an NAnt build script? (0 Replies)
Discussion started by: saku
0 Replies
8. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
LEARN ABOUT REDHAT
ppmtopgm
ppmtopgm(1) General Commands Manual ppmtopgm(1)
NAME
ppmtopgm - convert a portable pixmap into a portable graymap
SYNOPSIS
ppmtopgm [ppmfile]
DESCRIPTION
Reads a portable pixmap as input. Produces a portable graymap as output. The output is a "black and white" rendering of the original
image, as in a black and white photograph. The quantization formula used is .299 r + .587 g + .114 b.
Note that although there is a pgmtoppm program, it is not necessary for simple conversions from pgm to ppm , because any ppm program can
read pgm (and pbm ) files automatically. pgmtoppm is for colorizing a pgm file. Also, see ppmtorgb3 for a different way of converting
color to gray. And ppmdist generates a grayscale image from a color image, but in a way that makes it easy to differentiate the original
colors, not necessarily a way that looks like a black and white photograph.
QUOTE
Cold-hearted orb that rules the night
Removes the colors from our sight
Red is gray, and yellow white
But we decide which is right
And which is a quantization error.
SEE ALSO
pgmtoppm(1),ppmtorgb3(1),rgb3toppm(1),ppmdist(1),ppm(5),pgm(5)
AUTHOR
Copyright (C) 1989 by Jef Poskanzer.
10 April 2000 ppmtopgm(1)