Thanks again ongoto, that helped me.
And thank you Don Cragun, for this detailed answer, I really appreciate it
@achenle
Notice that the parameter s in exp(s), isn't used at all in the function. So there should not be a problem calling exp(). So was it just a "mistake" by the programmer?
Without any comments from the programmer stating the intent of the code, it's impossible to tell.
Quote:
My last question now would be, how could I print the exit status of a command in unix v6?
I know nowadays you can do it with $?. But how did they do it at that time?
Depending on your command shell, it's usually something like this:
"$?" is usually the value returned from the last command run in a shell. csh is probably different, but I don't remember exactly.
Hi!
Im new to all this but the computer club im in has unix i think.
now my questions.
1.is it NTFS i need to partion the harddrive with to be able to use unix?
2.Unix and Linux whats the diffrense?yes im a noob got no idea been using crap windows for ages and hate it.
3.I got a win98... (2 Replies)
Hello Everbody
I hope you can give me a hand, I have some questions
The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message
rsh: connection from bad port
bsd-gw: Error reading from connection: Bad file number
And my... (4 Replies)
Hi everyone im new to this forums, i just wanted to get started by asking a few question(Im a Unix newbie)
1. How do i sort a file called "dirr" in a ascending order on the 3rd column
2. what does alias on=who do
Thanks in advance!!! (1 Reply)
hey all, I have question when am writing simple shell...
in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp
thanks in advance (9 Replies)
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
1) The lpr and sort utilities accept input either from a file named on the command line or from standard input.
a)Name two other utilities that function in a similar manner.
b)Name a utility that accepts its input only from standard input.
2) Explain the following error message. What... (10 Replies)
Hello,
I would like to know how we can highlight/select a section of a file in vi and delete that section if we don't want to use the dd command to delete one line at at time. There is one where we don't want to delete the whole line , but up to a certain word. (2 Replies)