rush

command
v0.0.0-...-ed07a65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

our first builtin: cd

The u-root shell is intended to be very simple, since builtins and extensions are written in Go. It should not need YACC. As in the JSON parser, we hope this simple state machine will do the job.

Rush is an interactive shell similar to sh.

Description:

Prompt is '% '.

Time process execution.

Synopsis:

time CMD [ARG]...

Description:

After executing CMD, its real, user and system times are printed to
stderr in the POSIX format.

CMD can be a builtin, e.g. time cd

Example:

$ time sleep 1.23s
real 1.230
user 0.001
sys 0.000

Note:

This is different from bash's time command which is built into the shell
and can time the entire pipeline.

Bugs:

Time is not reported when exiting due to a signal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL