Wow, three students with the same project is a new one here. Anyways, please restrict chatter not concerning the technical side of it to PMs.
---------- Post updated at 09:45 ---------- Previous update was at 09:28 ----------
Quote:
Originally Posted by bravens52
one more question.. you cant really use the switch statement in bash but i want to turn what you have gave me to a case statement..im a little frozen..if you could help that would be great
As I said, it's only pseudocode. Bash has a switch statement (that's the name for it in most other languages), but it's name case instead. Simple example:
I am new to Unix and would like to update a website as well as add new content to the site but it must be done with UNIX.
Can anyone give me some pointers as to what types of references are on the web or maybe even some basic commands?
Thanks so much! (1 Reply)
Hi, i'm newbie in Unix.
How can i create my own database in unix shell?
Not to create a database through shell to MySql, oracle etc, but to create a completely mine database system through shell.
Please help me, give me directions, i'm desperate :( (1 Reply)
Hi, I want to create a table on our unix box that allows the user to tab through it and select certain option by putting an asterix or similair into it.
e.g.
--------------
|Start App | |
|Stop App |*|
etc...
Can this be done using a script (never seen any graphics options in ksh, but... (2 Replies)
i've got a database setup that references user inputs to see if they are already inputted. What I am wanting to do is allow the user to update the database by typing
"update: name" where name is someone already in the database.
echo "Enter your name."
read NAME
location=`find . -name... (2 Replies)
so when i issue a command like the below:
# mysql --pager=/usr/bin/less -u cactiman -p -e 'select * from data_input' cacti
Enter password: ... (2 Replies)
Hi
I need some help with a task, i am an absolute newbie to any form of shell scripting and request guidance.
I have been building a proxy server using the apache mod proxy currently my solution is working , but i need to automate the process , suppose if any changes need to be made on... (0 Replies)
Discussion started by: satej
0 Replies
LEARN ABOUT BSD
ratfor
RATFOR(1) General Commands Manual RATFOR(1)NAME
ratfor - rational Fortran dialect
SYNOPSIS
ratfor [ option ... ] [ filename ... ]
DESCRIPTION
Ratfor converts a rational dialect of Fortran into ordinary irrational Fortran. Ratfor provides control flow constructs essentially iden-
tical to those in C:
statement grouping:
{ statement; statement; statement }
decision-making:
if (condition) statement [ else statement ]
switch (integer value) {
case integer: statement
...
[ default: ] statement
}
loops: while (condition) statement
for (expression; condition; expression) statement
do limits statement
repeat statement [ until (condition) ]
break
next
and some syntactic sugar to make programs easier to read and write:
free form input:
multiple statements/line; automatic continuation
comments:
# this is a comment
translation of relationals:
>, >=, etc., become .GT., .GE., etc.
return (expression)
returns expression to caller from function
define:
define name replacement
include:
include filename
Ratfor is best used with f77(1).
SEE ALSO f77(1)
B. W. Kernighan and P. J. Plauger, Software Tools, Addison-Wesley, 1976.
7th Edition April 29, 1985 RATFOR(1)