diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/language/doc/history.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/language/doc/history.hlp')
-rw-r--r-- | pkg/language/doc/history.hlp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkg/language/doc/history.hlp b/pkg/language/doc/history.hlp new file mode 100644 index 00000000..c7357af8 --- /dev/null +++ b/pkg/language/doc/history.hlp @@ -0,0 +1,42 @@ +.help history Feb86 language +.ih +NAME +history -- display the last few commands +.ih +USAGE +history [[-]ncommands] +.ih +PARAMETERS +.ls ncommands +The number of commands to be displayed. +.le +.ih +DESCRIPTION +The \fIhistory\fR task prints a list of the last few commands executed. +Only commands which terminated normally are included. +The number of commands to be printed may be specified on the command line +if desired. If the number is preceded by a minus sign the default +number of lines is not changed, otherwise \fIhistory\fR will take the +value given as the new default number of commands to be printed. +.ih +EXAMPLES +1. Print the last few commands. + + cl> history + +2. Print the entire history list. + + cl> history -999 + +3. Change the default number of history lines to be printed to 5 (and print +the last five commands). + + cl> history 5 + +4. Save the history in the file "commands". + + cl> history -999 > commands +.ih +SEE ALSO +ehistory +.endhelp |