Re: C Programming on shell



On 30 Sep, 18:46, Grant Edwards <gra...@xxxxxxxx> wrote:
On 2007-09-30, William Pursell <bill.purs...@xxxxxxxxx> wrote:

I'd like to give C programming from shell a try.

I think you mean you want to work in the console rather than
"from shell".

Why do you say that? I do all my C programming from the shell,
but I never work in the console.

What does that mean? To me, programming from the shell would
mean:

% echo '#include<stdio.h>' > hello.c
% echo 'int main(void) { puts("hello, world!"); return 0;}' >> hello.c
% gcc hello.c -o hello

That seems an incredibly absurd way to work. Perhaps rather
than "console", I should have said "in a terminal", but
that's certainly not the shell.

.



Relevant Pages

  • Re: [Long] about ksh93 (Was: Bourne Shell Programming on Windows)
    ... Note that in src/cmd/ksh93/OBSOLETE in ksh93 source ... > But this is a shell feature, not a shell programming feature. ... Look at David Korn's himself ksh scripts on its home ...
    (comp.unix.shell)
  • C/C++ interpreter Ch 6.0 available
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.compilers)
  • [ann] C/C++ interpreter Ch 6.0 released
    ... 2D/3D plotting, numerical computing, shell programming and embedded ... Embeddable scripting ...
    (comp.programming)
  • Re: [Long] about ksh93 (Was: Bourne Shell Programming on Windows)
    ... :> Korn Shell 93 ROCKS! ... I consider ksh and especially ... ksh93 one of the worst shell ever written, and especilly, its claim to ... But this is a shell feature, not a shell programming feature. ...
    (comp.unix.shell)
  • Re: Bash script help
    ... >>What IS the difference between calling awk or perl in a bash script? ... >>They are both considered programming languages..... ... The other level is how to write shell scripts. ... than standard unix utilities, it should be included in this FAQ. ...
    (comp.unix.shell)