Skip to content

Instantly share code, notes, and snippets.

@lievencardoen
Created February 2, 2023 10:54
Show Gist options
  • Save lievencardoen/f0a47d3e07ea9e091f09f07fe61df54e to your computer and use it in GitHub Desktop.
Save lievencardoen/f0a47d3e07ea9e091f09f07fe61df54e to your computer and use it in GitHub Desktop.
Write to standard output on Windows and Linux
/**
* Have a procedure print Hello World on the Command Line.
*
* On Windows: prowin -b -p OutputToCommand.p | tee
* On Unix (DLC needs to be set): _progres -b -p OutputToCommand.p | tee
*
* tee is a command in command-line interpreters using standard streams which
* reads standard input and writes it to both standard output and one or more
* files, effectively duplicating its input. It is primarily used in conjunction
* with pipes and filters.
*/
PUT UNFORMATTED "Hello world" SKIP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment