let(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

let(1)

let(1)                           User Commands                          let(1)



NAME
       let  -  shell  built-in  function  to  evaluate  one or more arithmetic
       expressions

SYNOPSIS
   ksh88
       let arg...

   ksh
       let [expr...]

DESCRIPTION
   ksh88
       Each arg is a separate arithmetic expression to be evaluated.

   ksh
       let evaluates each expr in the current shell environment as  an  arith‐
       metic  expression  using ANSI C syntax. Variables names are shell vari‐
       ables and they are recursively evaluated as arithmetic  expressions  to
       get  numerical values. let has been made obsolete by the ((...)) syntax
       of ksh(1) which does not require quoting of the operators to pass  them
       as command arguments.

EXIT STATUS
   ksh88
       ksh88 returns the following exit values:

       0    The value of the last expression is non-zero.


       1    The value of the last expression is zero.


   ksh
       ksh returns the following exit values:

       0     The last expr evaluates to a non-zero value.


       >0    The last expr evaluates to 0 or an error occurred.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       ksh(1), ksh88(1), set(1), typeset(1), attributes(7)



Oracle Solaris 11.4               12 Jul 2011                           let(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3