From owner-freebsd-doc@FreeBSD.ORG Fri Jul 29 04:30:27 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53EE016A41F for ; Fri, 29 Jul 2005 04:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5C6B43D48 for ; Fri, 29 Jul 2005 04:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6T4UQsa027658 for ; Fri, 29 Jul 2005 04:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6T4UQhn027654; Fri, 29 Jul 2005 04:30:26 GMT (envelope-from gnats) Resent-Date: Fri, 29 Jul 2005 04:30:26 GMT Resent-Message-Id: <200507290430.j6T4UQhn027654@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, garys@opusnet.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F9BC16A41F for ; Fri, 29 Jul 2005 04:21:51 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id EECAF43D45 for ; Fri, 29 Jul 2005 04:21:50 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id AEDB412D00A2; Thu, 28 Jul 2005 21:21:47 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j6T4MnBI082677 for ; Thu, 28 Jul 2005 21:22:49 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j6T4MhEe082676; Thu, 28 Jul 2005 21:22:43 -0700 (PDT) (envelope-from garys@opusnet.com) Message-Id: Date: Thu, 28 Jul 2005 21:22:43 -0700 From: "Gary W. Swearingen" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: docs/84271: compress(1) doesn't warn about nasty link handling X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: garys@opusnet.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 04:30:27 -0000 >Number: 84271 >Category: docs >Synopsis: compress(1) doesn't warn about nasty link handling >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 29 04:30:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 5.4-RELEASE i386 >Organization: none >Environment: n/a >Description: See synopsis. >How-To-Repeat: n/a >Fix: Apply patch with new paragraph at end of DESCRIPTION and a new BUGS section: --- /pr/work/compress..orig.1 Thu Jul 28 21:01:24 2005 +++ /pr/work/compress.1 Thu Jul 28 21:19:35 2005 @@ -152,6 +152,16 @@ coding (as used in the historical command pack), or adaptive Huffman coding (as used in the historical command compact), and takes less time to compute. +.Pp +If +.Ar file +is a soft or hard link +.Nm compress +will replace it with a compressed copy of the linked-to file, +leaving that file uncompressed. +If +.Ar file +is hard linked, it will .Sh DIAGNOSTICS .Ex -std compress uncompress .Pp @@ -188,3 +198,5 @@ .Nm command appeared in .Bx 4.3 . +.Sh BUGS +The program doesn't handle links well and has no link-handling options. >Release-Note: >Audit-Trail: >Unformatted: