git clone https://garage44.eu/jeroen/pinnacle.git.. /programs/src/bin/echo.rs
//! The command `echo`: its arguments, as one text.
#![no_std]
#![no_main]
extern crate alloc;
use pinnacle_rt::output::Output;
#[unsafe(no_mangle)]
fn main(argument: u64) -> u64 {
let out = Output::start(argument);
// The first argument is the command's own name.
let words = out.args.get(1..).unwrap_or_default().join(" ");
out.text(&words);
out.status(0, "")
}