02-18-2015
Gee, please first format your script (and the code posted in code tags) for linux/unix/bsd, as you cleary wrote it on windows.
Mainwhile, i keep reading your list.
---------- Post updated at 03:18 ---------- Previous update was at 03:14 ----------
On reading further...
1) This is shell scripting, you posted in programming
2) Is this homework? -- How about posting this in the
https://www.unix.com/homework-and-coursework-questions/ thread?
Please provide a full template as provided in:
Rules for Homework & Coursework Questions Forum
Thank you and hope this helps
This User Gave Thanks to sea For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everybody, i want to make an argument at echo command that takes a alpharithmetic and returns it reversed. How this can be done? plus what makefile changes are needed (0 Replies)
Discussion started by: Panteras
0 Replies
2. Shell Programming and Scripting
In the make file
update updateq:
-------------------
----------
i want the makefile to display some messages when user gives "make update", but totally quite wehn user enters "make updateq". Can u tell me how to read these argument in makefile.
$1 doesnt work:( (3 Replies)
Discussion started by: vikashtulsiyan
3 Replies
3. Homework & Coursework Questions
I have no idea what the following means. The teacher is too advanced for me to understand fully. We literally went from running a few commands over the last few months to starting shell scripting. I am not a programmer, I am more hardware oriented. I wish I knew what this question was asking... (3 Replies)
Discussion started by: Wookard
3 Replies
4. Homework & Coursework Questions
Hi,
I am creating a program with the C language that simulates the WC command in Unix. My program needs to count lines, bytes and words. I have not added the code to count bytes and words yet. I am having trouble understanding what the file option/flag '-' does. I can not visualize how it moves... (1 Reply)
Discussion started by: heywoodfloyd
1 Replies
5. Shell Programming and Scripting
Hi,
I am not very skilled using ksh scripts.
How do I create a ksh script that will accept arguments and use them in the script ?
I need to make this:
Run this command with this argument:
./mykshprogram.ksh madsen
and sometimes I need to do this:
Run the ksh again with 2... (3 Replies)
Discussion started by: hasselhaven
3 Replies
6. UNIX for Dummies Questions & Answers
does anyone can help me with this homework, please..I am beginner in linux and I don't how to do it :(
Create a script scanner.sh which will accept two arguments: the first argument is the DNS name or the IP address of a system, or a network address or an IP range, the second argument is... (1 Reply)
Discussion started by: gennyy
1 Replies
7. Shell Programming and Scripting
I am trying to create a script that will accept multi input from the user (really just me), then execute those command on a remote device.
My question is if the I enter "No" at the confirmation point "Are these statements correct y or n ?", what is the best way to go back and start over ? I... (3 Replies)
Discussion started by: popeye
3 Replies
8. Shell Programming and Scripting
Hello
Does the unix korn shell provide a function to convert number entered in command line argument to text or Character so that in next step i will convert Chr to Hex (6 Replies)
Discussion started by: aadityapatel198
6 Replies
9. UNIX for Dummies Questions & Answers
Edit: Sorry. Mistakenly posted - please delete (3 Replies)
Discussion started by: Reddax
3 Replies
10. 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:
1) The script is executed in the Korn shell.
2) Name the shell script file is asg6s.
3) The asg6s file is... (7 Replies)
Discussion started by: ProgMan2015
7 Replies
LEARN ABOUT HPUX
fmind128
fmind64(3M) fmind64(3M)
NAME
fmind64(), fmind128(), fmind32() - decimal minimum value functions
SYNOPSIS
DESCRIPTION
The function determines the minimum numeric value of its arguments.
is a version of it takes arguments and returns a result.
is a version of it takes arguments and returns a result.
These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward.
USAGE
To use any of these functions, compile with the option.
Make sure your program defines and then includes
Link in the math library by specifying or on the linking command line.
For more information, see the at the following site:
RETURN VALUE
If one argument is NaN and the other is numeric, returns the numeric argument.
If both arguments are NaN, returns NaN.
ERRORS
No errors are defined.
SEE ALSO
fdimd64(3M), fmaxd64(3M), math(5).
STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic".
HP Integrity Server Only fmind64(3M)