File: echo.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (11 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
set echo(name) {echo}
set echo(short) {echo}
set echo(purpose) {echoes text on the console}
set echo(invoke) {echo <text>}
set echo(help) {echo uses current text color to output text. change this color with set-text-color command
}
set echo(examples) {
  echo word ;# prints word
  echo {a fairly long sentence} ;# prints a fairly long sentence
  echo "2 + 2 is = [expr 2 + 2]" ;# prints 2 + 2 is = 4
  echo "we have [get-drone n] drones in din" ;# prints the number of drones in din}