PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Wrting a shell in C
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Wrting a shell in C

Réponse
 
LinkBack Outils de la discussion
Vieux 26/08/2006, 13h51   #1
souissipro
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Wrting a shell in C

Dear ALL,

I'm C and shell beginner and I should write a sheel that does the
following:
- reads an input line from standard input, parses the line into
commands and arguments, calls the command with the arguments and waits
for it to terminate.
- includes i/o redirection, environment variables, parameter and
command substitution, command line editing and filter management.

I would greatly appreciate if anybody could provide me with a shell
that has the functionalities mentionned above and that I can start with
my learning?

Thank you very much for your ,

Beginner

  Réponse avec citation
Vieux 27/08/2006, 11h00   #2
Dave (from the UK)
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Wrting a shell in C

souissipro wrote:
> Dear ALL,
>
> I'm C and shell beginner and I should write a sheel that does the
> following:


I'd not start on a shell if you are knew to C.

> - reads an input line from standard input, parses the line into
> commands and arguments, calls the command with the arguments and waits
> for it to terminate.
> - includes i/o redirection, environment variables, parameter and
> command substitution, command line editing and filter management.
>
> I would greatly appreciate if anybody could provide me with a shell
> that has the functionalities mentionned above and that I can start with
> my learning?


Many shells are open-source. Take a look at bash, sh, tcsh etc. They
will all be found in Linux distros, or online online. But it is not the
sort of thing a new C programmer should be looking at.



--
Dave (from the UK)

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@southminster-branch-line.org.uk
Hitting reply will work for a few months only - later set it manually.

http://witm.sourceforge.net/ (Web based Mathematica front end)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,55577 seconds with 10 queries