Hi anyone,
i need to compare two decimal numbers
i thought that it could be do it with if but... :(
So, i'm writing in csh and i really apreciate if anyone can help me
if ( $ppl_kn <= $ppl_wb ) then
echo "############# KNdiscount model has the lowest perplexity"
set... (5 Replies)
Hi all,
I have a issue... Is it possible to compare integer value with decimal value.
If it is not possible,then how can i compare 2 decimal values in born shell.thanks! (3 Replies)
Hi guys/gals i have a quick question. I am trying to read from a file and add the values up but the problem is the values are not integers their floats so i tried to used bc but failed epicly lol. Any tips would be great. Thanks
this is the code i have so far :
while read num
do
... (6 Replies)
#!/bin/bash
filter_file=/export/home/alvin/test.txt
range1_count=0
range2_count=0
categorized(){
value=$1
if # range 5.1 to 10.0
then
range1_count=`expr $range1+ 1`
elif # range 5.1 to 15.00
then
range2_count=`expr $range2+ 1`
fi
}
#read txt file which contain lines of... (8 Replies)
i need to do camparisions like the below.
For the case when first=10 and second=9.9 the scripts displays process failed.
I need to be able to convert the values to integer before doing the comparision.
Like 9.9 should be rounded over to 10 before doing comparision.
Please advice how can... (3 Replies)
THANKS UNIX SYSTEM®.I was found my job from UNIX®.I USE MONKEY WRENCH WITH WARTER.I am now studying my studio with UNIX SYSTEM®.
THANKS UNIX SYSTEM®.
THANKS OUR OPEN GROUP.
from Takayasu Sakashita.My name is Takayasu Sakashita.
I respect you.
Austin.PEACE!Bey bey.
Your friend TAKA.Good... (1 Reply)
I have 2 files say tp1.txt and tp2.txt having following data
cat tp1.txt
abc,2.20,IN20
acb,3.15,DN10
bca,3,RD10
cat tp2.txt
alv,1.00,IN20
aaa,4.05,DD10
abb,5.50,RD12
i want to compare the values on 2nd field of both the file, if value of first tp1.txt is greater than value... (3 Replies)
Hi,
I am facing some error while doing the comparision between 2 decimal values in bash. Pl help me out.
I have tried using below scripts. But its giving me error.
1)amt=12.3 opn_amt=12.5 var=$(awk 'BEGIN{ print "'$amt'"<"'$opn_amt'" }')
if ;then echo "correct" else echo "Wrong"... (3 Replies)
Some question about the usage of shell scripts:
1.) Are the commands of the base shell scripts a subset of bash commands?
2.) Assume I got a long, long script WITHOUT the first line.
How can I find out if the script was originally designed für "sh" or "bash"?
3.) How can I check a given... (3 Replies)
In Bash shell - the ps -ef shows only the /bin/bash but the script name is not displayed ? Is there any way to get the script names for the process command ?
--- Post updated at 08:39 AM ---
in KSH (Korn Shell), my command output shows the script names but when run in the Bash Shell... (3 Replies)
Discussion started by: i4ismail
3 Replies
LEARN ABOUT REDHAT
apacheconf
apacheconf(1) Apache configuration apacheconf(1)NAME
apacheconf - Apache configuration utility
SYNTAX
apacheconf
DESCRIPTION
This is a new graphical tool to configure the common web server Apache in an easy and simple way. It supports the basic configuration
options and even allows to set up multiple virtual hosts.
OPTIONS
None
FILES
/usr/bin/apacheconf
/usr/share/apacheconf/*
/etc/alchemist/switchboard/apache.switchboard.adl
/etc/alchemist/namespace/apache/local.adl
/etc/alchemist/namespace/apache/rpm.adl
/var/cache/alchemist/apache/*
EXAMPLES
To run this program simply type:
apacheconf
SEE ALSO httpd(8)BUGS
Not all possible checks for correct values are done yet.
The current /etc/httpd/conf/httpd.conf file is NOT parsed, so changing the configuration with apacheconf will overwrite any manual changes
to the httpd.conf file or the changes done with apacheconf are discarded. In case of overwriting the manually editied file a backup file
will be generated.
AUTHORS
Jonathan Blandford <jrb@redhat.com>
Philipp Knirsch <pknirsch@redhat.com>
Philipp Knirsch 0.63 apacheconf(1)