premark <<< for deletion, >>> for SAR, ^< and ^> for ROL/ROR

cf. http://david.tribble.com/text/c0xrot.htm

noted by izabera
This commit is contained in:
tg 2016-06-25 23:48:10 +00:00
parent 8d811d19d4
commit f555d1d524
1 changed files with 10 additions and 4 deletions

14
mksh.1
View File

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.395 2016/05/05 22:45:58 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.396 2016/06/25 23:48:10 tg Exp $
.\" $OpenBSD: ksh.1,v 1.160 2015/07/04 13:27:04 feinerer Exp $ .\" $OpenBSD: ksh.1,v 1.160 2015/07/04 13:27:04 feinerer Exp $
.\"- .\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
@ -76,7 +76,7 @@
.\" with -mandoc, it might implement .Mx itself, but we want to .\" with -mandoc, it might implement .Mx itself, but we want to
.\" use our own definition. And .Dd must come *first*, always. .\" use our own definition. And .Dd must come *first*, always.
.\" .\"
.Dd $Mdocdate: May 5 2016 $ .Dd $Mdocdate: June 25 2016 $
.\" .\"
.\" Check which macro package we use, and do other -mdoc setup. .\" Check which macro package we use, and do other -mdoc setup.
.\" .\"
@ -2723,9 +2723,15 @@ Rotate left (right); the result is similar to shift (see
.Ic \*(Lt\*(Lt ) .Ic \*(Lt\*(Lt )
except that the bits shifted out at one end are shifted in except that the bits shifted out at one end are shifted in
at the other end, instead of zero or sign bits. at the other end, instead of zero or sign bits.
.Pp
.Em Note :
These operators are deprecated; in a subsequent mksh release,
.Ic \*(ha\*(Lt No and Ic \*(ha\*(Gt
.No will replace them, and Ic \*(Gt\*(Gt\*(Gt
will be an arithmetic right shift.
.It \*(Lt\*(Lt \*(Gt\*(Gt .It \*(Lt\*(Lt \*(Gt\*(Gt
Shift left (right); the result is the left argument with its bits shifted left Shift left (right); the result is the left argument with its bits logically
(right) by the amount given in the right argument. shifted left (right) by the amount given in the right argument.
.It + \- * / .It + \- * /
Addition, subtraction, multiplication, and division. Addition, subtraction, multiplication, and division.
.It % .It %