Sponsored Content
Full Discussion: Perl program
Top Forums Programming Perl program Post 302564206 by nitha on Thursday 13th of October 2011 05:40:01 AM
Old 10-13-2011
no if i get idea i can do main prog that y..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

My crap PERL program

Hey all, I've been trying to learn Perl on my BSD box. When it came to printing the files out, it bothered me that the lines weren't numbered. So here's my little *crap* claim to some-form-of-fame Perl script which numbers files: ... (9 Replies)
Discussion started by: WIntellect
9 Replies

2. Linux

an error in perl program

Hi I am having a file with 243 lines.. The file format s given below eg P25787 hsa03050 1 P20618 hsa03050 1 P25786 hsa03050 1 P49721 hsa03050 1 P54132 hsa03440 1 Q13472 hsa03470 1 Q05513 hsa04530 hsa04910 hsa04930 3 Q04759 ... (0 Replies)
Discussion started by: binnybio
0 Replies

3. Shell Programming and Scripting

perl program

I wish to write a Perl program that will provide a listing of files in a directory. The files must be listed in sorted order by the file name. • By default, the program displays only file names. • By default, the program lists the files in the current directory. • The program must provide the... (2 Replies)
Discussion started by: livewire06
2 Replies

4. Shell Programming and Scripting

perl program

could i get any help with how to link this program together. i dont know what to put where the X's are print `flush`; thank(); #print thank header use Getopt::Std; # use declaration with the options function getopts("ld:") or usage() and exit; ... (3 Replies)
Discussion started by: livewire06
3 Replies

5. Homework & Coursework Questions

Calling compiled C program with Perl program

Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies

6. Shell Programming and Scripting

Exiting a program! - perl

how would you exit out of a programm correctly, without having for the program to crash? for example print "Enter quit"; $input = <STDIN>; if ($input eq "quit") { {QUIT THE PROGRAM} } else { print "invalid input"; } one more thing, how do u exit a program "correctly", if... (3 Replies)
Discussion started by: bshell_1214
3 Replies

7. Shell Programming and Scripting

Help regarding a Perl Program

I want to traverse a durectory for a particular file. Situataion is like this. Path is ABC/a/c/g. it has around 100 folders in it. Search a directory which has word "*latest*" in its path. and then from the latest go through z/x/c to file final.html. In total, i want it to go through... (4 Replies)
Discussion started by: hemasid
4 Replies

8. Shell Programming and Scripting

getting no output with my perl program

hi, i have posted the same kind of the question in some other forum of the same site. but realized that it is supposed to be here so i am reposting it .this is the perl script written to check for particular pattern. my file 1 would look like this hwk:678:9878:asd:09: abc cfgb 12 nmjk ......... (3 Replies)
Discussion started by: anurupa777
3 Replies

9. Shell Programming and Scripting

Perl program

can anyone help me out to write a code by connecting to the sql database and I need to print the list of tables present in the databse. any ideas please. (1 Reply)
Discussion started by: ramkumar15
1 Replies

10. Shell Programming and Scripting

Perl program get a response before the program quits

I created a program, so a kid can practice there math on it. It dispenses varies math problems and the kid must input an answer. I also want it to grade the work they have done, but I can't find the best place for it to print out the grade. I have: if ( $response =~ m/^/ ) { $user_wants_to_quit... (1 Reply)
Discussion started by: germany1517
1 Replies
ONEKO(6)							   Games Manual 							  ONEKO(6)

NAME oneko - Creates a cute cat chasing around your mouse cursor.
SYNOPSIS
oneko [-help] [-tora] [-dog] [-sakura] [-tomoyo] [-time n] [-speed n] [-idle n] [-name name] [-towindow] [-toname name] [-tofocus] [-posi- tion geometry] [-rv] [-noshape] [-fg] [-bg] DESCRIPTION
oneko changes your mouse cursor into mouse and creates a little cute cat and the cat start chasing around your mouse cursor. If the cat catchup the ``mouse'', start sleeping. Options -help Prints help message on usage. -tora Make cat into "tora-neko", a cat wite tiger-like stripe. -dog Runs a dog instead of a cat. -sakura Runs Sakura Kinomoto instead of a cat. -tomoyo Runs Tomoyo Daidouji instead of a cat. -time interval Sets interval timer which determine intervals for cat animation. Default value is 125000 and unit is micro-second. Smaller value makes cat run faster. -speed distance Specify the distance where cat jumps at one move in dot resolution. Default is 16. -idle speed Specify the threshold of the speed which ``mouse'' running away to wake cat up. -name name Specify the window name of cat. -towindow When oneko starts with this option, you must select a window by cursor. Then cat appears and starts chasing the window instead of mouse. You can select another running oneko as the target window. If root window is selected, cat chases mouse as usually. When the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this program exit. -toname name Specify the window name of target to make cat chase it instead of mouse. You can specify another running oneko as the target win- dow. When the target window is not in sight and not closed, cat chases mouse as usually. If the target window is closed, this pro- gram exit. -tofocus Makes cat run to and on top of focus window. When focus window is not in sight, cat chases mouse as usually. -position geometry Specify X and Y offsets in pixels to adjust position of cat relative to mouse pointer. -rv Reverse background color and foreground color. -noshape Don't use SHAPE extension. -fg color Foreground color. -bg color Background color. -cursor cursornumber Specify a cursos number to set when quitting. For example, 132 is the default root cursor. Resources Application name is "neko"(or "tora") and class name is "Oneko". tora Set ``True'' if you want "tora-neko". time Sets interval timer in micro-second. speed Sets distance to jump in pixel. idle Sets speed threshold to wake cat up when ``mouse'' running away. noshape Set ``True'' if you don't want to use SHAPE extension. reverse Set ``True'' if you want to switch foreground and background color. foreground Foreground color. background Background color. Notes While this program uses XGetDefault, be sure to use "neko.resouce" form. If you run this program as "tora", by hard of soft link, the -tora option is enabled by default. BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved. Sakura Kinomoto and Tomoyo Daidouji are characters in a comic strip "CARDCAPTOR SAKURA" (CLAMP, Kodansha), with the sanction indicated in CLAMP SCHOOL WEB CAMPUS (http://www.clamp.f-2.co.jp/). AUTHOR
Original xneko is written by Masayuki Koba and modified to oneko by Tatsuya Kato, and modified furthermore by John Lerchey, Eric Anderson, Toshihiro Kanda and Kiichiroh Mukose. MAINTAINER
Send questions or problems to mukose@hbar.mp.es.osaka-u.ac.jp ONEKO(6)
All times are GMT -4. The time now is 05:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy