05-29-2004
i=0
for item in This That
do
if [ -e $item ]
then
existing[i]=$item
let i++
fi
done
select readme in "${existing[@]}"
do
case "$readme" in
...
Last edited by anarchie; 05-29-2004 at 01:14 PM..
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to have an if statement in a script to run if there are certain processes running. Easiest way I can see to do this is to run a ps and grep the results based on what I am looking for:
$ ps -ef | grep wtrs
---
webtrend 5046 1 0 May 12 ? 0:28 /webtrends/versions/6.1/wtrs_ui... (6 Replies)
Discussion started by: LordJezo
6 Replies
2. Shell Programming and Scripting
hi all
i'm writing a script and in it i need to prompt the user if the entered value is correct or not ,i wrote the following and its not working ,its executing the script even if i enter Y/N
pls any help is appreciated
echo "\nAre you sure you entered the right Destination Environment? y :... (5 Replies)
Discussion started by: bkan77
5 Replies
3. Shell Programming and Scripting
I am writing a script to pull diskspace information from our servers. Here is the script that I wrote:
#!/bin/ksh
for host in `cat /oper/hosts/esc.misc`
do
ssh -q -o ConnectTimeout=10 operator@$host df -h|grep "/dev/" |egrep '8%|9%|100%' | awk '{print H " " "at " $5 " with " $4 "... (1 Reply)
Discussion started by: rkruck
1 Replies
4. Shell Programming and Scripting
Hello Unix Gurus :
It would be really appreciative if can find a solution for this .
I have records in a file .
I need to Capitalize the records based on condition .
For Example i tried the following Command
COMMAND -->
fgrep "2000YUYU" /export/home/oracle/TST/data.dat | tr '' ''... (12 Replies)
Discussion started by: tsbiju
12 Replies
5. Shell Programming and Scripting
Hey, guys I really need some help with a project.
"Write a shell program that examines the command line arguments, counts and collects the number of options. Basically it has to collect and count the arguments that start with a "-" and the one's that don't start with a -
I know I have to use... (2 Replies)
Discussion started by: sk192010`
2 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hey, guys I really need some help with a project.
"Write a shell program that examines the command line... (8 Replies)
Discussion started by: sk192010`
8 Replies
7. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
TOGA2(6) TOGA2(6)
NAME
toga2 - toga2 is a UCI-only chess engine.
SYNOPSIS
toga2
DESCRIPTION
This manual page documents briefly the toga2 program.
toga2 is an UCI-only chess engine.
toga2 and other UCI engines can be used with XBoard or WinBoard (or other xboard-compatible interfaces) with the help of PolyGlot
(UCI-to-xboard adapter). An other well known frontend is KDE knights, which has a UCI capable interface.
OPTIONS
These program does NOT follow the usual GNU command line syntax, but can be fed with options with a personal config file which can be read
by the polyglot helper software. The author himself says "You are advised to skip this section unless you are completely crazy about com-
puter chess." For a complete description of these UCI commands, see the readme files.
SEE ALSO
Further documentation in /usr/share/doc/toga2/readme.txt
AUTHOR
The base program fruit was written by Fabien Letouzey <fabien_letouzey@hotmail.com> and toga2 by Thomas Gaksch <toga2@gmx.net>. The Source-
code including binaries for several architectures can be found at: http://www.uciengines.de/UCI-Engines/TogaII/togaii.html and
http://alpha.uhasselt.be/Research/Algebra/Toga/posix_versions/
This manual page was written by Oliver Korff <ok@xynyx.de>, for the Debian project (but may be used by others).
July 29, 2006 TOGA2(6)