05-07-2013
Quote:
Originally Posted by
gimley
...I copied the script exactly as it was on the page only removing the inverted commas
...
It's not an exact copy if you remove the
inverted commas (I believe you are referring to
single quotes). What happens if you don't do that?
Quote:
Originally Posted by
gimley
...
Is this because I am trying to run the perl script from outside.
...
Yes, that's correct. The "outside" or the
shell doesn't understand Perl syntax.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone please tell me where the dictionary file for Spell is stored. And is it in a text format so I can read it in a windows text editor. Thanks (1 Reply)
Discussion started by: Rukshan
1 Replies
2. UNIX for Dummies Questions & Answers
Has anyone ever encountered a good publication or site that is basically a NT(or DOS) to UNIX Dictionary / Translator (i.e. service = daemon or ren = mv, etc) - I've found lots of websites that list like 20 or so command equivalents, but that's about it- what about differences in system folders,... (3 Replies)
Discussion started by: gsumers
3 Replies
3. UNIX for Dummies Questions & Answers
ne1 know where unixs built in dictionary is???
is it in this place /usr/dict/words????? (1 Reply)
Discussion started by: sinner
1 Replies
4. UNIX for Advanced & Expert Users
how can i get the dictionary words in vim using keyboard keys?
and how can i get the current directory filename? (1 Reply)
Discussion started by: lakshmananindia
1 Replies
5. Shell Programming and Scripting
Hello,
In google: if we type the text like :-
It gives us a question saying :-
I want to know how to write a shell script to give this Dictionary effect. example:If we give "lst" then it corrects us saying "list".
Can you please help me with a sample code! friends..... (3 Replies)
Discussion started by: nsharath
3 Replies
6. UNIX for Dummies Questions & Answers
Hey,
I am looking for an inbuilt unix dictionary.I tried to look at the path /usr/dict/word and I do not find anything any dict directory in the /usr folder. Can anyone please tell me how to find out this dictionary?
Thanks
Lee. (1 Reply)
Discussion started by: leepan2008
1 Replies
7. Windows & DOS: Issues & Discussions
Dear Expert,
i have linux box that is running in the windows domain, BUT did not being a member of the domain. as I am not the System Administrator so I have no control on the server in the network, such as modify dns entry , add the linux box in AD and domain record and so on that relevant.
... (2 Replies)
Discussion started by: regmaster
2 Replies
8. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Create a dictionary using cygwin. Display the following menu at the start of
execution
1-add a word in the dictionary # specify the meaning
2-search a word # if word exists, show the meaning of the word
2-delete a word... (2 Replies)
Discussion started by: kpopfreakghecky
2 Replies
9. Programming
I have thrown in the towel and cant figure out how to do this. I have a directory of html files that contain urls that I need to scrape (loop through) and add into a dictionary. An example of the output I would like is:
bigbadwolf.htlm: https://www.blah.com, http://www.blahblah.com,... (5 Replies)
Discussion started by: metallica1973
5 Replies
10. Shell Programming and Scripting
My main aim here is to create a database of verbs in a language to Hindi. The output if it works well will be put up on a University site for researchers to use for Machine Translation. This because one of the main weaknesses of MT is in the area of verbs.
Sorry for the long post but the problem... (4 Replies)
Discussion started by: gimley
4 Replies
LEARN ABOUT LINUX
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)