11-22-2019
9 More Discussions You Might Find Interesting
1. BSD
I just don't know how do I have to connect them... Connecting via USB, if some body knows, please post here... Thankue... (0 Replies)
Discussion started by: PomaH 6yxDAK
0 Replies
2. Shell Programming and Scripting
Hey can anyone tell me the korn script code to implement an interactive integer calculator using the shell's built in arithemetic expression evaluation (2 Replies)
Discussion started by: sahithi_khushi
2 Replies
3. Shell Programming and Scripting
I am pretty new to the Unix word, and have created a working calculator script. I have one problem. It doesn't use any decimals, it rounds off to the nearest whole number.
1 #!/bin/ksh
2 while true; do
3 echo -n "Enter the first integer: "; read IN1
4 test... (2 Replies)
Discussion started by: ironhead3fan
2 Replies
4. UNIX for Dummies Questions & Answers
hi, im new to the unix system and scripting and was wondering if anyone could help me with this problem iv been havin... i want the system to:
1. ask me for a number
2. ask me for a command to use on that number (* + - /)
3. ask me for another number
4. then ask me for another command, if the... (2 Replies)
Discussion started by: jdougy
2 Replies
5. Shell Programming and Scripting
Hi Guys,
I found this code in net.. it is working fine..
But can anybody explain me the sed statement used in the code..
echo "Enter the expression:\c"
read express
eval echo "$express"|sed 's/^/'$precision' \
/'|bc -l|\
sed -n '1,${
/syntax/!{
}
... (2 Replies)
Discussion started by: mac4rfree
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:
Script a simple calculator. In the command line enter the script file
/home/etc/mycalc or /home/etc/mycalc 1 +... (6 Replies)
Discussion started by: herb bertz
6 Replies
7. Shell Programming and Scripting
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Discussion started by: giridhar276
1 Replies
8. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
9. Shell Programming and Scripting
ADE is a UNIX environment for the ancient AMIGA A1200. By default this does NOT have the 'bc' command line calculator.
Although I did a DEMO code to create a C source and compile it under python 1.4.0 and ADE using ksh88 and the gcc of the day, I decided to create this baby that requires no Python... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT DEBIAN
dptest
DPTEST(1) Quick Database Manager DPTEST(1)
NAME
dptest - test cases for QDBM Depot
SYNOPSIS
dptest write [-s] name rnum bnum
dptest read [-wb] name
dptest rcat [-c] name rnum bnum pnum align
dptest combo name
dptest wicked [-c] name rnum
DESCRIPTION
The command `dptest' is a utility for facility test and performance test. Check a database generated by the command or measure the execu-
tion time of the command. This command is used in the following format. `name' specifies a database name. `rnum' specifies the number of
the records. `bnum' specifies the number of the elements of the bucket array. `pnum' specifies the number of patterns of the keys.
`align' specifies the basic size of alignment. `fbpsiz' specifies the size of the free block pool.
dptest write [-s] name rnum bnum
Store records with keys of 8 bytes. They change as `00000001', `00000002'...
dptest read [-wb] name
Retrieve all records of the database above.
dptest rcat [-c] name rnum bnum pnum align fbpsiz
Store records with partway duplicated keys using concatenate mode.
dptest combo name
Perform combination test of various operations.
dptest wicked [-c] name rnum
Perform updating operations selected at random.
Options feature the following.
-s : make the file sparse.
-wb : use the function `dpgetwb' instead of the function `dpget'.
-c : perform comparison test with map of Cabin.
This command returns 0 on success, another on failure. The environment variable `QDBMDBGFD' specifies the file descriptor to output the
history of updating the variable `dpecode'.
SEE ALSO
qdbm(3), depot(3)
AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
Man Page 2005-06-01 DPTEST(1)