Skip to content
Snippets Groups Projects
Commit c40e96a7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

New file.

parent 5857bc79
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
echo hello, world
exit 0
#!/bin/sh
n=-n
e=
while :
do
echo $n "prompt: $e"
read cmd args
if test "$cmd" = echo
then
echo You wrote: $args
elif test "$cmd" = stderr
then
echo You wrote: $args >&2
elif test "$cmd" = bye
then
echo Exiting
exit 0
else
echo unknown command: $cmd
exit 1
fi
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment