Search Results

Search: Posts Made By: lionatucla
4,947
Posted By lionatucla
I don't know if it makes a difference but...
I don't know if it makes a difference but ./sh-n-body.i686 is a c file not a shell script.


Quote:
Originally Posted by lionatucla View Post
the above code just results in a . after the...
4,947
Posted By lionatucla
I do have the source code, but I hesitate to...
I do have the source code, but I hesitate to change it. Here is the portion that has the prompt

fputs("Enter comment, ^D or . to end.\n", stderr);
puts("Comment:");
while(fgets(_line,...
4,947
Posted By lionatucla
the above code just results in a . after the...
the above code just results in a . after the sh-n-body has finished. I still get the prompt:

"Enter comment, ^D or . to end."

and still have to enter ". return" for the code to continue.
4,947
Posted By lionatucla
shell script executes program, but waits for a prompt
Sorry, newbie here. I have the following shell script which basically executes the sh-n-body.i686 program a specified number of times. However, before the sh-n-body.i686 begins its calculations it...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy