nushell/docs/commands/char.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

693 B

char

Output special characters (e.g., 'newline').

Usage

> char (character) ...args {flags} 

Parameters

  • (character) the name of the character to output
  • ...args: multiple Unicode bytes

Flags

  • -h, --help: Display this help message
  • -l, --list: List all supported character names
  • -u, --unicode: Unicode string i.e. 1f378

Examples

Output newline

> char newline

Output prompt character, newline and a hamburger character

> echo (char prompt) (char newline) (char hamburger)

Output Unicode character

> char -u 1f378

Output multi-byte Unicode character

> char -u 1F468 200D 1F466 200D 1F466