dir command

    (A) Function
        Outputting/changing a working directory of a SECONDS process.

    (B) Format

        dir  [ <pathname> ]

    (C) Parameter
       <pathname>
        Designate a working directory of a SECONDS process. 
        All <pathname> descriptions follow the rules of path name 
        in a file system. 
        If <pathname> is not specified, this command returns 
        a working directory of a SECONDS process. 

    (D) Notes
        A stacked script retrieved from a file may not resume 
        if the listen/eval commands are nested and its working directory 
        is changed with the dir command. 
        This is because, when a script retrieved from a file is stacked, 
        the file is closed and afterwards is reopened with a path name 
        given with the listen command to resume. 
        The above case does not occur if an absolute path name of a file
        is specified with the listen command.

    (E) Related items
        exec command
        ldir command
        listen command
        eval command