Hi,
Please clarify what is the difference between "env" and "set" command.
I guess set will display the system variables and user defined variables.
Thanks
Sweta (1 Reply)
Hello to all,
Does anyone know the solution ?
Two strings A and B are present. I want to check whether B is a Substring of A.
1. The value of A is - 29 * * * /bin/ls "test" "tmp*" "log*"
(Note: Pl note that A contains DOUBLEQUOTES, ASTERISK & FRONTSLASH)
2. The value of B is -... (5 Replies)
Hi Experts,
I have a file with some of the records contain double quotes. If I found a double quote(") in any particular record , I need to look for the next double quote in that particular record and in between these quotes, if any comma(,) is there I need to replace with Tilde (~) in the same... (12 Replies)
I am just starting out and learning from "Linux and Unix programming tool, A primer" - Sarwar, Al-Saqabi.
In the first chapter I am required to run the command set then list the settings for the environment variables shown.
When I run set, I get a list of actual code and methods, not a list of... (5 Replies)
How do I create shortcuts? For example:
I just want to type one key "l" and have it output the command of "ls -lah"
I believe it's creating a file called l with 755 permissions but I'm not sure where to put the file.
*if it matters, I'm on a shared hosting web server using cPanel with... (2 Replies)
I am trying to match a text which contains the " ", from the log file. But it doesn't match. I understand that " " has got a special meaning to TCL/Expect.
hence I tried the following, but no luck.
expect -ex {
"lp -c -demail -ot\\\"firstname_surname@gmail.com\\\"... (3 Replies)
Trying to execute commands for different Unix user with that user's environment variable context without fully switching as that user using sudo && su capabilities.
Hoping this would help with security and not having to waste time switching between 10 different app users on same server.
I do... (6 Replies)
Hi,
I have the following text in a file
<div class="snippet abstract">
We present a new "model" for multiple-input-multiple-output (MIMO) 'outdoor'
has many things "what" ever
</div></a href=sdfkkf">
</div>
<div class="snippet context">
I have to replace the string between the <div... (1 Reply)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
oneko
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)