mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Clarified -a and -f in calc man page
Clarify in the calc man page, the relationship between -q and calc start scripts such as the ~/.calcrc file. Fixed in the calc man page, the issue of -f not implying -q.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -78,6 +78,11 @@ The following are the changes from calc version 2.14.2.0 to date:
|
|||||||
a few few minor text improvements. Updated cal/regress to test
|
a few few minor text improvements. Updated cal/regress to test
|
||||||
config("tilde_space").
|
config("tilde_space").
|
||||||
|
|
||||||
|
Clarify in the calc man page, the relationship between -q and
|
||||||
|
calc start scripts such as the ~/.calcrc file.
|
||||||
|
|
||||||
|
Fixed in the calc man page, the issue of -f not implying -q.
|
||||||
|
|
||||||
|
|
||||||
The following are the changes from calc version 2.14.1.2 to date:
|
The following are the changes from calc version 2.14.1.2 to date:
|
||||||
|
|
||||||
|
45
calc.man
45
calc.man
@@ -251,9 +251,6 @@ For example:
|
|||||||
\fI#!${BINDIR}/calc\fP \fB\-q\fP \fB\-f\fP
|
\fI#!${BINDIR}/calc\fP \fB\-q\fP \fB\-f\fP
|
||||||
.fi
|
.fi
|
||||||
.in -5n
|
.in -5n
|
||||||
.sp 1
|
|
||||||
This allows the script to run independently of
|
|
||||||
startup scripts.
|
|
||||||
|
|
||||||
.sp 1
|
.sp 1
|
||||||
See
|
See
|
||||||
@@ -294,6 +291,24 @@ This will cause calc to process lines in
|
|||||||
in
|
in
|
||||||
.BR "shell script mode" .
|
.BR "shell script mode" .
|
||||||
|
|
||||||
|
.sp 1
|
||||||
|
.B NOTE:
|
||||||
|
The use of
|
||||||
|
.BR \-f
|
||||||
|
does
|
||||||
|
.B NOT
|
||||||
|
imply
|
||||||
|
.BR \-q
|
||||||
|
and thus one would need to use
|
||||||
|
.sp 1
|
||||||
|
.in +5n
|
||||||
|
.nf
|
||||||
|
\fIcalc\fP\ [optional_other_flags\ \&...] \fB\-q\fP \fB\-f\fP filename
|
||||||
|
.fi
|
||||||
|
.in -5n
|
||||||
|
.sp 1
|
||||||
|
to disable the use of calc startup files as well.
|
||||||
|
|
||||||
.sp 1
|
.sp 1
|
||||||
The use of
|
The use of
|
||||||
.B \-f
|
.B \-f
|
||||||
@@ -458,6 +473,13 @@ flag overrides
|
|||||||
.TP
|
.TP
|
||||||
.B \-q
|
.B \-q
|
||||||
Disable the reading of the startup scripts.
|
Disable the reading of the startup scripts.
|
||||||
|
.sp 1
|
||||||
|
This allows the script to run independently of
|
||||||
|
startup scripts such those managed by the
|
||||||
|
.B $CALCRC
|
||||||
|
environment variable.
|
||||||
|
For example, this will disable the use of the common calcrc file
|
||||||
|
(usually ~/.calcrc).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-s
|
.B \-s
|
||||||
@@ -813,6 +835,23 @@ are automatically set if
|
|||||||
.B \-i
|
.B \-i
|
||||||
is not given.
|
is not given.
|
||||||
.sp 1
|
.sp 1
|
||||||
|
.B NOTE:
|
||||||
|
The use of
|
||||||
|
.BR \-f
|
||||||
|
does
|
||||||
|
.B NOT
|
||||||
|
imply
|
||||||
|
.BR \-q
|
||||||
|
and thus one would need to use
|
||||||
|
.sp 1
|
||||||
|
.in +5n
|
||||||
|
.nf
|
||||||
|
\fIcalc\fP\ [optional_other_flags\ \&...] \fB\-q\fP \fB\-f\fP filename
|
||||||
|
.fi
|
||||||
|
.in -5n
|
||||||
|
.sp 1
|
||||||
|
to disable the use of calc startup files as well.
|
||||||
|
.sp 1
|
||||||
For example, if
|
For example, if
|
||||||
the file
|
the file
|
||||||
.BR /tmp/mersenne :
|
.BR /tmp/mersenne :
|
||||||
|
Reference in New Issue
Block a user