Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 20:13:19 +0000
From:      Ceri <setantae@submonkey.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/32082: true.1 totally incorrect
Message-ID:  <E165YJb-000EfO-00@rhadamanth.private.submonkey.net>

next in thread | raw e-mail | index | archive | help

>Number:         32082
>Category:       docs
>Synopsis:       true.1 totally incorrect
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 12:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     setantae@submonkey.net
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD rhadamanth.private.submonkey.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Nov 16 21:14:33 GMT 2001 root@rhadamanth.private.submonkey.net:/usr/obj/usr/src/sys/RHADAMANTH i386


	
>Description:
	true.1 states that the appropriate return status from true is "false".
	Which is clearly not the case.
	
>How-To-Repeat:
	man true
>Fix:
	Apply this patch :

*** src/usr.bin/true/true.1.old	Sun Nov 18 20:08:15 2001
--- src/usr.bin/true/true.1	Sun Nov 18 20:08:30 2001
***************
*** 47,53 ****
  The
  .Nm
  command is normally used in a Bourne shell script.
! It tests for the appropriate status "false" before running
  (or failing to run) a list of commands.
  .Sh SEE ALSO
  .Xr csh 1 ,
--- 47,53 ----
  The
  .Nm
  command is normally used in a Bourne shell script.
! It tests for the appropriate status "true" before running
  (or failing to run) a list of commands.
  .Sh SEE ALSO
  .Xr csh 1 ,
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E165YJb-000EfO-00>