*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> false (1)              
Title
Content
Arch
Section
 

Contents


 true(1)                                                             true(1)




 NAME    [Toc]    [Back]
      true, false - return exit status zero or one respectively

 SYNOPSIS    [Toc]    [Back]
      true

      false

 DESCRIPTION    [Toc]    [Back]
      The command true does nothing, and returns exit code zero.  The
      command false does nothing, and returns exit code one.  They are
      typically used to construct command procedures.

 RETURN VALUE    [Toc]    [Back]
      Exit values are:

            0      always from true.
            1      always from false.

 EXAMPLES    [Toc]    [Back]
      This command loop repeats without end:

           while true
               do
                    command
               done

 WARNINGS    [Toc]    [Back]
      true is typically used in shell scripts.  Some shells provide a
      built-in version of true (and false) that is more efficient than the
      standalone versions.

 SEE ALSO    [Toc]    [Back]
      csh(1), ksh(1), sh(1), sh-posix(1).

 STANDARDS CONFORMANCE    [Toc]    [Back]
      true: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2

      false: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
tt_pointer_error HP-UX return the status of a pointer
VFS_STATFS FreeBSD return file system status
tt_int_error HP-UX return the status of an error object
aio_return HP-UX return status of an asynchronous I/O operation
aio_error HP-UX return error status of an asynchronous I/O operation
aio_return IRIX return error status of an asynchronous I/O operation
aio_error IRIX return error status of an asynchronous I/O operation
aio_return FreeBSD retrieve return status of asynchronous I/O operation (REALTIME)
pthread_exc_get_status_np Tru64 (Macro) Obtains a systemdefined error status from a DECthreads status exception object
true Tru64 Returns a standard exit value
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service