Find Jobs
Hire Freelancers

Design a simple shell

zł90-750 PLN

Stengt
Lagt ut nesten 6 år siden

zł90-750 PLN

Betalt ved levering
Design and implement a simple shell. The interpreter takes a single line from the standard input and splits it into single space-separated words. The first word is the name of the executed program (use the PATH variable) and the other words are the arguments. The shell runs the program and waits for its completion, unless the command is ended with '&', which executed the program in the background, just like in bash. The shell exist on end-of-line (EOL) character. This behavior enables the execution of simple scripts, that can be run from bash, if the first line of the script is: #!/path/to/my_shell also we need a command history – the shell stores the 20 previous commands in an external file in the user home directory, so the history should 'survive' after the shell exit. SIGQUIT (Ctrl+\) signal should print the history on the standard output (be careful with the signal handling).
Prosjekt-ID: 17053341

Om prosjektet

1 forslag
Eksternt prosjekt
Aktiv 6 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
1 frilanser byr i gjennomsnitt zł105 PLN for denne jobben
Brukeravatar
We are proficient as shell and can give you the desired output
zł105 PLN om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

POLANDs flagg
Poland
0,0
0
Medlem siden mai 27, 2018

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.