10-17-2013
Quote:
Originally Posted by
Scott
I only wish everyone would preview their posts before submitting them
Repeat offender checking in!
6 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Editing a post doesn't work. Generates Errors. (1 Reply)
Discussion started by: daJabberwocky
1 Replies
2. Shell Programming and Scripting
hi experts,
please help me in writting the script..
i have two files file1 and file 2
i have to write a script which will take input parameters as file1 and file2
file1:
......
1
2
3
4
file2:
.....
1
2
output (6 Replies)
Discussion started by: subhendu81
6 Replies
3. Shell Programming and Scripting
If I have a text file which I am editing with vi and I perform the following editing.
:1,$s/\<green\>/blue/g
Later I decide to replace all ocurance of blue to red, then instead of writing the above editing line is there a way to recall it and work on it, instead of repeating the entire editing... (1 Reply)
Discussion started by: Tirmazi
1 Replies
4. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
>AB_1 200bp
MLKKPIIIGVTGGSGGGKTSVSRAILDSFPNARIAMIQHDSYYKDQSHMSFEERVKTNYDHPLAFDTDFM... (4 Replies)
Discussion started by: Lucky Ali
4 Replies
5. Post Here to Contact Site Administrators and Moderators
Apologies about the earlier post, i didnt realise, could i delete that post? I apologise again,
SynGc (1 Reply)
Discussion started by: SynGc
1 Replies
6. Shell Programming and Scripting
Dear Guru's
I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response.
Srini (6 Replies)
Discussion started by: thummi9090
6 Replies
LEARN ABOUT DEBIAN
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)