What are the steps to run the "Hello World" equivalent of a DUP application?

After compiling and installing the DUP System, you must first start dupd. You do not need to specify any command-line options at this time. Then, write a simple DUP application, for example like this:

hello@localhost[1|DUP:1]$ echo "Hello World";

Store this line in a file called hello.dup. Running hello.dup will direct the standard output (1) of the echo command to the standard output of the dup command. In order to invoke the command, run:

$ dup < hello.dup

If it works, you should get back the output "Hello World".

Recent comments

Syndicate

Syndicate content