On 7/5/07, bags joni <[EMAIL PROTECTED]> wrote:
> I need to know the difference between the c-programming language and the awk
> programming developed can i say kernigan
awk programming and c programming are very different. Awk is used for
scanning for patterns in text streams, and not much else. C is a
compiled language used for system and application development.
Virtually every program you run in Linux is written C or C++ (and the
occasional Perl or Tcl script).
> How can i embed my C- program with in a shell script so that on running the
> script on the terminal then the c code also automatically runs and a get a
> single output
> I am using linux(SUSE 10.0)
You put your C program in a shell script the same way you do in any
other command in shell a script. There is no embedding... shell
scripts can directly call any program you put in the script (as long
as the program is in the $PATH).
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi