Purpose

With no arguments, show the current value of the OBJECT
keyword giving the name of the current target. With
arguments, reset the OBJECT name to the given string(s).

Usage

object [name]

Arguments

name = new name to asign to the OBJECT keyword

Output

object name is printed on stdout

Restrictions

Names containing characters with special meaning to the shell
(e.g., *()!&#) must be enclosed within double quotes (").

Exit values

0 = normal completion

Example

1) show the current object name

object

2) reset the current object name to "Abell 2112"

object Abell 2112

3) reset the current object name to "Sgr A*"

object "Sgr A*"