04-26-2017
On first sight, it looks like a dot is missing in the sub - compare to post#20.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone tell me how to remove a portion of a large file to smaller ones? What I have is a large file that was created becasue several similar files were joined together. Each individual file starts with MSG_HEAD. I want to take everything from MSG_HEAD up to were it says MSG_HEAD again and... (13 Replies)
Discussion started by: methos
13 Replies
2. Shell Programming and Scripting
Hi,
I have my input as follows :
I have given two entries-
From system Mon Aug 1 23:52:47 2005
Source !100000006!:
Impact !100000005!: High
Status ! 7!: New
Last Name+!100000001!:
First Name+ !100000003!:
... (4 Replies)
Discussion started by: srikanth_ksv
4 Replies
3. Programming
hi i would like to know whether i can delete a part of a file in C
for eg. if my file contained
1234567890
and i want to delete
456
so that it becomes
1237890
is there a way i can do this.
well, one way i can achieve this is by creating a new file, copy whatever i want, then delete the... (2 Replies)
Discussion started by: sameersbn
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a little problem. I am having a file with pattern like :
asdf;ffgg;dfjfj;djdfjf;nnjj;djd;ssj;
I just want to print the portion from last ";" upto the immediate previous ";". There are several ";" in my line.
Please help me out...
Thnx in advance (8 Replies)
Discussion started by: vanand420
8 Replies
5. Shell Programming and Scripting
Dear Friends,
Here I am with another difficulty. I have a flat file from which I wanna grep following pattern.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Statement Date : Blah blah
Blah blah
Blah blah
Blah blah... (1 Reply)
Discussion started by: anushree.a
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to devide one file into 3 files based on column numbers and put a string (FILE1, FILE2, FILE3) in the last.....
Input file:
Column1,Column2,Column3,Column4,Column5,Column6,Column7,Column8,Column9,Column10
Output1:
Column1,Column3,Column6,Column4,Column5,FILE1
Output2:... (6 Replies)
Discussion started by: yale_work
6 Replies
7. Shell Programming and Scripting
Hello,
I've been searching and reading, but I can't figure out how to solve this problem with my newbie skills.
In my directory, I have a list of files (see dirlist.txt attachment) that I need to merge and rename. I have part of the code of the code figured out (see below). However, I... (3 Replies)
Discussion started by: anjulka
3 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I am getting file name like
ABC_DATA_CUSTIOMERS_20120617.dat
ABC_DATA_PRODUCTS_20120617.dat
Need to convert
CUSTIOMERS.dat
PRODUCTS.dat
Help me how to do this. (7 Replies)
Discussion started by: reach_malu
7 Replies
9. Shell Programming and Scripting
Need to sort a portion of a file in a Alphabetical Order.
Example : The user adam is not sorted and the user should get sorted. I don't want the complete file to get sorted.
Currently All_users.txt contains the following lines.
##############
# ARS USERS
##############
mike, Mike... (6 Replies)
Discussion started by: evrurs
6 Replies
10. UNIX for Dummies Questions & Answers
Hi ladies and gentleman.. I have two text file with me. I need to replace one of the file content to another file if one both files have a matching pattern.
Example:
text1.txt:
ABCD 1234567,HELLO_WORLDA,HELLO_WORLDB
DCBA 3456789,HELLO_WORLDE,HELLO_WORLDF
text2.txt:
XXXX,ABCD... (25 Replies)
Discussion started by: bananamen
25 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)