Home > Archive > Unix Programming > April 2007 > small shell code example
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
small shell code example
|
|
| Mr. X. 2007-04-18, 7:05 pm |
| Hello,
I am looking for small shell program in UNIX (written in ansi C),
that simulates the shell program.
(if I do something like cat myprog.c | wc -l, it do the work).
I need also small shell, with an option to run command on background
(so they are returned immediataly to prompt, and I can enter other commands
while running the previous,
i.e cat myfile.txt & (& sign is for background, without that sign, it's for
foreground).
Thanks :)
| |
| Barry Margolin 2007-04-18, 7:05 pm |
| In article <f0539s$ebj$1@news2.netvision.net.il>,
"Mr. X." <no_spam_please@nospam_please.com> wrote:
> Hello,
>
> I am looking for small shell program in UNIX (written in ansi C),
> that simulates the shell program.
> (if I do something like cat myprog.c | wc -l, it do the work).
>
> I need also small shell, with an option to run command on background
> (so they are returned immediataly to prompt, and I can enter other commands
> while running the previous,
> i.e cat myfile.txt & (& sign is for background, without that sign, it's for
> foreground).
>
> Thanks :)
Why? This sounds like homework.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
| Mr. X. 2007-04-18, 7:05 pm |
| > Why? This sounds like homework.
Yes.
You can send a link or not , as you wish.
This is one of wonderfull things that newsgroup is for !
Cheers ...
| |
| Ramon F Herrera 2007-04-20, 8:06 am |
| On Apr 18, 11:40 am, "Mr. X." <no_spam_please@nospam_please.com>
wrote:
>
> Yes.
> You can send a link or not , as you wish.
> This is one of wonderful things that newsgroup is for !
>
> Cheers ...
Just go to Rent-A-Coder:
http://www.rac.com
and pay somebody to do your homework. You seem to be shameless enough.
-RFH
| |
| Mr. X. 2007-04-20, 7:04 pm |
| Like it or not.
It's a known fact, that this kind of program, run on internet,
and many good people will be glade to put it free with no fee or
obligations,
as I put many of my-codes.
and there are special sites for that,
just need to find it.
No offense ...
| |
|
|
|
|
|