Hello,
I kinda newbie in unix so I would like so help.I know that there is a command that compares two integer numbers test (eg. #$1=0 ).I would like to know if it is possible to compare any number with another (eg. 2.3=0 or 3.7!=0 4.5>2.2).
Thank you in advance. (1 Reply)
Hello, I'm searching for a quick method to read numeric values from a file or a defined variable and identifying the largest number. For instance if the following numbers are in a file or defined to a variable:
09192007 09202007 09182007 09172007 09162007
What "short" method could be used to... (7 Replies)
Hi There!
Apologies if this has been asked previously but I couldn't find the answer I was hoping for.
Basically, all I want to do is compare the OS X version against the version that I require in my script. So I'm retrieving the OS version using defaults read, but how can I compare this... (10 Replies)
Hi!
I've come up with a ksh-script that produces one or more lists of hosts.
At the and of the script, I would like to print only those hosts that exists in all the lists.
Ex.
HOSTS="host1 host2 host3 host11"
HOSTS="host1 host2 host4"
HOSTS="host2 host11"
HOSTS="host2 host5 host6 host7... (1 Reply)
Hi,
I am a noob at shell scripting.
basically I am trying to compare row counts from 8 tables in different databases. I have managed to get the row counts using awk from the spool files for both databases.
now I have 16 variables with me
for database 1 :
$A
$B
$C
$D
$E
$F
$G... (3 Replies)
Im trying to compare two numbers with decimals but its not working as expected.
a=1
b=1.1
if
then echo "equal"
fi
When I do this it says that the numbers are equal. Ultimately Im using -le and -ge in the if statements but I tested with -eq for simplicity.
Any way to make this... (3 Replies)
Hi. I do not know how to compare numbers and need help. In my script I have to figure the MAX, MIN, & Avg. Sales amounts.
Please help me.
In the code, "transaction" is a counter.
#!/bin/bash
clear
transaction=0
sales=0
total=0
while test $sales
... (9 Replies)
ValA=-29344
if ; then
echo "NEGATIVE"
else
echo "POSITIVE"
fi
Can someone please tell me how else they would go about doing the above?
When i do it, i get errors such as: (10 Replies)
For numbers between 0 and 1 the below logic is not working.
Output of above shall be "correct" but its echoing "incorrect".Kindly suggest
a=.1
if
then
echo correct
else echo incorrect
fi
Video tutorial on how to use code tags in The UNIX and Linux Forums. (3 Replies)
Discussion started by: itsvikas
3 Replies
LEARN ABOUT DEBIAN
xsystem35
XSYSTEM35(6) xsystem35 User Manual XSYSTEM35(6)NAME
xsystem35 - program to play System 3.5 games
SYNOPSIS
xsystem35 [OPTIONS]
DESCRIPTION
This manual page documents briefly the xsystem35 command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
xsystem35 is a program to run System 3.5 games. Known games are:
o Kichikuou Rance
o Ikenai Katsumi Sensei
o Rance IV for WIN
o Tshin Toshi 2 for WIN
o Kaerunyo Panyon
o Ikusamiko
o Ningengari (in Alice no Yakata 456)
o Type Zero (in Alice no Yakata 456)
o ATLACH=NACHA (in Alice no Yakata 456)
o DALK (in Alice no Yakata 456)
o Tshin Toshi (in Alice no Yakata 456)
o Dr. Stop! (in Alice no Yakata 456)
o Rance I (in Alice no Yakata 456)
o Rance II (in Alice no Yakata 456)
o Rance III (in Alice no Yakata 456)
o
o DiaboLiQuE
o AmbivalenZ for Win95
o Pastel Chime
o Prostudent GOOD
o Mamorigami-sama
o Mamatoto
o Hushaby Baby
o DARCROWS
o Persiom
o
o SeeIN Ao
o D.P.S.? (in 20 seiki Alice)
o (in 20 seiki Alice)
o Only You - Re cross
o Lv1.5
o Daiakuji (Not opening)
o (Not opening)
OPTIONS
The program start with the following options starting with one dash (`-'). A summary of options is included below.
-gamefile file
set game resouce file to 'file'
-no-shm
don't use MIT-SHM (use in another display)
-devcd device
set cdrom device name to 'device'
-devmidi device
set midi device name to 'device'
-devdsp device
set audio device name to 'device'
/dev/dsp : oss type (device name)
-O?
select output audio device
-Oo
OSS mode
-Os
ALSA mode
-Oe
Enlightened Sound Daemon mode
-O0
Disable Audio output
-M?
select output midi methods
-Me
External midi player
-Mr
Raw Midi device
-Ms?
Sequenceer device (?:devicenumber)
-M0
Disable MIDI output
-midiplayer cmd
set external midi player to 'cmd'
-devmix device
set mixer device name to 'device' (effective only for oss)
-devjoy device
set joystick device name to 'device'
if 'device' is set to 'none', don't use the device
-savekanji #
kanji code of filename (0 or 1 ... 0:euc, 1:sjis)
-antialias
always draw antialiased string (for !256 colors game)
-noantialias
never use antialiased string (for !256 colors game)
-fullscreen
start with fullscreen
-noimagecursor
disable image cursor
-version
Show version of program.
-h, --help
Show summary of options.
FILES
${HOME}/.xsys35rc
The per-user configuration file to control the behaviour of xsystem35.
AUTHOR
Ying-Chun Liu <paulliu@debian.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Ying-Chun Liu (PaulLiu)
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
xsystem35 11/20/2011 XSYSTEM35(6)