Hi all
I have tried to search for this, but keep getting a MySQL db connect error, so am posing the question here, and taking a risk of incurring the wrath of the mods with my first post...
I have the following test script:
#!/bin/bash
HTTPD=`/bin/ps -axcu | /usr/bin/grep httpd... (6 Replies)
Hi,
I have an embedded Perl construct in a korn script. However, I cannot seem to access the shell variables that were declared outside this Perl section.
This is how my script is written....I have also tried back-ticks where I assign the shell variable to my local perl variable, still... (1 Reply)
Hi Guys,
could someone tell me what this ksh construct does
typeset -r PROG_PWD=${0%/*} does
I understand the -r for readonly but I would very much appreciate a definitive account of what this will set $PROG_PWD to.
If I run this at the cmd line it it gets set to /usr/bin but I would... (2 Replies)
Hi all,
Sorry to ask this easy question but I am stuck. In a scenario i am executing one shell script which contains a if - else construct :
if ; then
echo $line
$line >> successful_build.txt
else
$line >> failed_services.txt
fi
explaination : if the... (5 Replies)
I'd like to create a variable with the value of X number of space( no Perl please), printf seems to work, but , in following example,10 spaces becomes 1 space when assinged to a variable, Why? other solutions are welcome.
$printf "=%10s=\n"
= =
$var=$(printf "=%10s=\n")
echo... (4 Replies)
Hi all
i have been trying to do a small 'question and answer' script using if-else statement and a combination of pipe. I have succeeded in allowing the user to login with user name and password stored in a sequence username/password in a file named "pass" like this:
echo "please enter your... (14 Replies)
Please help me out: I've seen this construct
awk '{...}1'several times, like in scrutinizer's today's post
awk '{for(i=2;i<=NF;i++)if($i==$1)$i=RS $i}1' infilebut I can't find (manuals, man pages, internet FAQs,...) an explanation of what it does resp. stands for. Any hint is appreciated! (5 Replies)
Hi everybody!!
Here is the thing; I have a trouble in this simple situation, I'm trying to write an array with all the arguments of a command. I mean, if I have:
./mycommand.sh aa bb cc dd
I need to take an array like this:
myarray=(aa bb cc dd)
So I use a simple for loop like this:
for... (4 Replies)
Hi all,
I thought this would be simple, but I've been having a lot of trouble trying to write this IF statement, if I may ask for help pls:
In BASH, how would I construct the if statement:
Should ONLY be true if USEROPTscript=="yes"]] AND $mode=="INSTALL" /or/ $mode=="CHANGE" ]]... (3 Replies)
Discussion started by: jmccoughlin
3 Replies
LEARN ABOUT DEBIAN
pysycache
PYSYCACHE(1)PYSYCACHE(1)NAME
pysycache - educational software to learn to manipulate the mouse with pleasant activities.
SYNOPSIS
pysycache [-nf] [-wf] [-ns] [-ws] [-nh] [-nc] [-lang=xx_XX] [-font=xx] [-admin] [-debug]
DESCRIPTION
pysycache is an educational software for the young children (4-7 years old) with target to learn them to use the mouse (move, click or
drad'n'drop).
Each activity teaches a mouse usage with a pleasant window :
move : user must uncover a picture hidden by a cache with it's mouse movements.
buttons : user must lead animal at it's home (right item at the right home and left item at the left house) by clicking with the right and
left buttons of the mouse.
click : user must find six photographies in a landscape : when the mouse becomes red, it must click in order to see the photography.
double-click : user must catch some items with a fillet.
drag'n'drop : user must make a jigsaw by drag and drop pieces at their correct place.
This game doesn't want some powerful computer, and it can be used at home with yours children, or in the schools.
OPTIONS
Options are used in order to don't use the user preferences (stored in it's setting file pysycacherc)
-nf runs pysycache in non-fullscreen (hence windowed) mode.
-wf runs pysycache in fullscreen mode.
-ns runs pysycache without sound.
-ws runs pysycache with sound.
-nh runs pysycache without sound for the help items.
-nc pysycache doesn't show credits at the end of the game.
-lang=xx_XX
force the lang detection by using the lang xx_XX located in the lang directory of pysycache.
-font=xx
force the font xx to be used in the menus. The font must be located in the fonts directory of pysycache.
-admin runs pysycache in admin mode (for configure the pysycache mode, the users).
-debug runs pysycache in debug mode.
AUTHOR
This man page was initially created by Georges Khaznadar, and is completed by Vincent DEROO.
October 12, 2006 PYSYCACHE(1)