From unknown Sat Jun 21 05:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7985: Inconsistancy Resent-From: Tom Tijerina Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 04 Feb 2011 21:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7985 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7985@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129685472226018 (code B ref -1); Fri, 04 Feb 2011 21:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2011 21:25:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlT9d-0006la-W0 for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:25:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlSz9-0006Wq-Ny for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:14:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlT7O-0000je-Sd for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:23:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DATE_IN_PAST_12_24, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlT7O-0000ja-Qd for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:23:02 -0500 Received: from [140.186.70.92] (port=60230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlT7N-0003wm-UE for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlT7M-0000jO-TJ for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:01 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:48815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlT7M-0000jK-PP for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:00 -0500 Received: by gwj22 with SMTP id 22so1302609gwj.0 for ; Fri, 04 Feb 2011 13:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=Eyowsk3g5q7UFrJ2iyvX2vsUM2Fg/t+Z6/IqLjB1TNE=; b=CxzJ+18qJEF/gKsX6RedexXVe0FWvxF05PTgc3OtFPlymmmzQ+wYyT4PKdeb6X1YFb lBLbfT0m1NT3IcJhrRf8fXBH4YEuSRxAwoAUhnYsG8St3eBt1yAhXoxvj6C3zBWSrF8d OevdgJL2MCJe9aZIB7zwZF8n2y159uYPLgQSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=aY5CbedX36zV40DLxnMtmBZe1PzFxuXzgeKjcIcmaxGp614Ol0dHNwOvwRiIEEOVNa 5NHoeGUsCfNvHa4B+Xh7Lz2PjjDcMEV5shKlw+xxnBoFjoO0g0v3amhQ/GaDIamhm1Ic KLKcpeAtdONAp/QLd0s1aW7vAVEZFPoZ0DS0s= Received: by 10.150.158.11 with SMTP id g11mr1434482ybe.238.1296854579516; Fri, 04 Feb 2011 13:22:59 -0800 (PST) Received: from [192.168.1.4] (244-192.97-97.tampabay.res.rr.com [97.97.192.244]) by mx.google.com with ESMTPS id i56sm693839yhd.14.2011.02.04.13.22.57 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Feb 2011 13:22:57 -0800 (PST) From: Tom Tijerina Content-Type: text/plain; charset="UTF-8" Date: Thu, 03 Feb 2011 18:22:44 -0500 Message-ID: <1296775364.6749.5.camel@SDT> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.9 (----) X-Mailman-Approved-At: Fri, 04 Feb 2011 16:25:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) I have a friend I'm trying to get into learning Linux, not wanting to hand feed him every command I've instructed him to use man when he get stuck or needs help on how to use a command. He ran man rm and it says at the top its for removing files OR directories. That is not correct as it does not give you any information for removing directories. I assumed it may be an option of some sort but I have not found it in the man page. Is this an oversight? ------------------ RM(1) User Commands RM(1) NAME rm - remove files or directories If this is something positive credit should be given to Ron Flowers. He is the one who pointed it out to me. Running Debian Lenny, GNU coreutils 8.5 Thanks. From unknown Sat Jun 21 05:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7985: Inconsistancy Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 04 Feb 2011 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7985 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Tom Tijerina Cc: 7985@debbugs.gnu.org Received: via spool by 7985-submit@debbugs.gnu.org id=B7985.129685579227531 (code B ref 7985); Fri, 04 Feb 2011 21:44:01 +0000 Received: (at 7985) by debbugs.gnu.org; 4 Feb 2011 21:43:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlTQt-0007A0-Ve for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:43:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlTQq-00079l-D4 for 7985@debbugs.gnu.org; Fri, 04 Feb 2011 16:43:10 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p14Lpddp005733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Feb 2011 16:51:39 -0500 Received: from [10.3.113.63] (ovpn-113-63.phx2.redhat.com [10.3.113.63]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p14LpcqW026415; Fri, 4 Feb 2011 16:51:39 -0500 Message-ID: <4D4C74EA.5000904@redhat.com> Date: Fri, 04 Feb 2011 14:51:38 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 References: <1296775364.6749.5.camel@SDT> In-Reply-To: <1296775364.6749.5.camel@SDT> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig11916EA5926E3788E97418D8" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -10.2 (----------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig11916EA5926E3788E97418D8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/03/2011 04:22 PM, Tom Tijerina wrote: > I have a friend I'm trying to get into learning Linux, not wanting to > hand feed him every command I've instructed him to use man when he get > stuck or needs help on how to use a command.=20 >=20 > He ran man rm and it says at the top its for removing files OR > directories. That is not correct as it does not give you any informatio= n > for removing directories. I assumed it may be an option of some sort bu= t > I have not found it in the man page. Is this an oversight?=20 Thanks for the report, however, the sentence is correct as-is. $ mkdir dir $ rm -r dir successfully removes the directory dir. The -r option already has this text: -r, -R, --recursive remove directories and their contents recursively= About the only thing that might be worth doing is rewording from one accurate sentence to another, but I don't know of anything better than this, and prefer the terseness of the original sentence (man pages are generated from the --help output, and --help should be a complete overview while still being concise): rm - remove files or directory hierarchies --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig11916EA5926E3788E97418D8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNTHTqAAoJEKeha0olJ0NqbtwH/jbo6Vt4rhUCmQ5+CwATvAXj HtTsnF/ovHfnpMtNDW5aYE2STV7BUIoyP4n2JjqwDfv8Uy5/SfsiZf+RC6bGZpOq Lz1B7z3tsYaBMD0ZfmdygbRZtJohtbEwoKWrcSeazTO/4nZI4hS+r9KVOhi4RB0e scbAigQ8lA77r2fbLLMlSv8Ygih03q9NSQQWEnq1/i6P0FTGDaujoUCl+v9HeaMl PEFFgX/7cQHDrRBdKbRMdYVt2hgY/coib7VZP4s+bsJS4PbYgdhtRHtkt3gNEOhK U+U6puwqt07UAFcnXkysogszZitZK2BUZevLUyTXQh980LEyvVTlxE9dAhRC6Ok= =qvwJ -----END PGP SIGNATURE----- --------------enig11916EA5926E3788E97418D8-- From unknown Sat Jun 21 05:18:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tom Tijerina Subject: bug#7985: closed (Re: bug#7985: Inconsistancy) Message-ID: References: <4D4C7532.2090909@draigBrady.com> <1296775364.6749.5.camel@SDT> X-Gnu-PR-Message: they-closed 7985 X-Gnu-PR-Package: coreutils Reply-To: 7985@debbugs.gnu.org Date: Fri, 04 Feb 2011 21:47:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1296856022-27870-1" This is a multi-part message in MIME format... ------------=_1296856022-27870-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7985: Inconsistancy which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7985@debbugs.gnu.org. --=20 7985: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7985 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1296856022-27870-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7985-done) by debbugs.gnu.org; 4 Feb 2011 21:46:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlTUK-0007F4-7G for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:46:44 -0500 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PlTUI-0007Eq-Ch for 7985-done@debbugs.gnu.org; Fri, 04 Feb 2011 16:46:43 -0500 Received: (qmail 14615 invoked from network); 4 Feb 2011 21:55:13 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 4 Feb 2011 21:55:13 -0000 Message-ID: <4D4C7532.2090909@draigBrady.com> Date: Fri, 04 Feb 2011 21:52:50 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Tom Tijerina Subject: Re: bug#7985: Inconsistancy References: <1296775364.6749.5.camel@SDT> In-Reply-To: <1296775364.6749.5.camel@SDT> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7985-done Cc: 7985-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 03/02/11 23:22, Tom Tijerina wrote: > I have a friend I'm trying to get into learning Linux, not wanting to > hand feed him every command I've instructed him to use man when he get > stuck or needs help on how to use a command. > > He ran man rm and it says at the top its for removing files OR > directories. That is not correct as it does not give you any information > for removing directories. I assumed it may be an option of some sort but > I have not found it in the man page. Is this an oversight? $ rm --help | grep directories -r, -R, --recursive remove directories and their contents recursively By default, rm does not remove directories. Use the --recursive (-r or -R) Also the man page is automatically generated from --help output. cheers, Pádraig. ------------=_1296856022-27870-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Feb 2011 21:25:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlT9d-0006la-W0 for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:25:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlSz9-0006Wq-Ny for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:14:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlT7O-0000je-Sd for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:23:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DATE_IN_PAST_12_24, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:40273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlT7O-0000ja-Qd for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:23:02 -0500 Received: from [140.186.70.92] (port=60230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlT7N-0003wm-UE for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlT7M-0000jO-TJ for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:01 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:48815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlT7M-0000jK-PP for bug-coreutils@gnu.org; Fri, 04 Feb 2011 16:23:00 -0500 Received: by gwj22 with SMTP id 22so1302609gwj.0 for ; Fri, 04 Feb 2011 13:22:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=Eyowsk3g5q7UFrJ2iyvX2vsUM2Fg/t+Z6/IqLjB1TNE=; b=CxzJ+18qJEF/gKsX6RedexXVe0FWvxF05PTgc3OtFPlymmmzQ+wYyT4PKdeb6X1YFb lBLbfT0m1NT3IcJhrRf8fXBH4YEuSRxAwoAUhnYsG8St3eBt1yAhXoxvj6C3zBWSrF8d OevdgJL2MCJe9aZIB7zwZF8n2y159uYPLgQSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=aY5CbedX36zV40DLxnMtmBZe1PzFxuXzgeKjcIcmaxGp614Ol0dHNwOvwRiIEEOVNa 5NHoeGUsCfNvHa4B+Xh7Lz2PjjDcMEV5shKlw+xxnBoFjoO0g0v3amhQ/GaDIamhm1Ic KLKcpeAtdONAp/QLd0s1aW7vAVEZFPoZ0DS0s= Received: by 10.150.158.11 with SMTP id g11mr1434482ybe.238.1296854579516; Fri, 04 Feb 2011 13:22:59 -0800 (PST) Received: from [192.168.1.4] (244-192.97-97.tampabay.res.rr.com [97.97.192.244]) by mx.google.com with ESMTPS id i56sm693839yhd.14.2011.02.04.13.22.57 (version=SSLv3 cipher=RC4-MD5); Fri, 04 Feb 2011 13:22:57 -0800 (PST) Subject: Inconsistancy From: Tom Tijerina To: bug-coreutils@gnu.org Content-Type: text/plain; charset="UTF-8" Date: Thu, 03 Feb 2011 18:22:44 -0500 Message-ID: <1296775364.6749.5.camel@SDT> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 04 Feb 2011 16:25:20 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) I have a friend I'm trying to get into learning Linux, not wanting to hand feed him every command I've instructed him to use man when he get stuck or needs help on how to use a command. He ran man rm and it says at the top its for removing files OR directories. That is not correct as it does not give you any information for removing directories. I assumed it may be an option of some sort but I have not found it in the man page. Is this an oversight? ------------------ RM(1) User Commands RM(1) NAME rm - remove files or directories If this is something positive credit should be given to Ron Flowers. He is the one who pointed it out to me. Running Debian Lenny, GNU coreutils 8.5 Thanks. ------------=_1296856022-27870-1-- From unknown Sat Jun 21 05:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7985: Inconsistancy Resent-From: Bob Proulx Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 04 Feb 2011 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7985 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Tom Tijerina Cc: 7985@debbugs.gnu.org Received: via spool by 7985-submit@debbugs.gnu.org id=B7985.129685682229011 (code B ref 7985); Fri, 04 Feb 2011 22:01:01 +0000 Received: (at 7985) by debbugs.gnu.org; 4 Feb 2011 22:00:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlThW-0007Xr-0p for submit@debbugs.gnu.org; Fri, 04 Feb 2011 17:00:22 -0500 Received: from joseki.proulx.com ([216.17.153.58]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlThT-0007Xd-64 for 7985@debbugs.gnu.org; Fri, 04 Feb 2011 17:00:20 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D02F92130C; Fri, 4 Feb 2011 15:08:49 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id B96962DCC7; Fri, 4 Feb 2011 15:08:49 -0700 (MST) Date: Fri, 4 Feb 2011 15:08:49 -0700 From: Bob Proulx Message-ID: <20110204220849.GA11903@hysteria.proulx.com> References: <1296775364.6749.5.camel@SDT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1296775364.6749.5.camel@SDT> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Tom Tijerina wrote: > He ran man rm and it says at the top its for removing files OR > directories. That is not correct as it does not give you any information > for removing directories. I assumed it may be an option of some sort but > I have not found it in the man page. Is this an oversight? Of course the full documentation is available in the info pages. You would be helping your friend out quite a bit if you gave him instruction in accessing the info pages which tend to be more useful. As to the man page the man page says: DESCRIPTION This manual page documents the GNU version of rm. rm removes each specified file. By default, it does not remove directories. So you are correct that by default rm will not remove a directory. $ mkdir testdir $ rm testdir rm: cannot remove `testdir': Is a directory The man page then goes on to list the options. OPTIONS ... -r, -R, --recursive remove directories and their contents recursively There is the information you missed. The rm command will remove directories recursively when the -r option has been added. $ mkdir -p testdir $ ls -ldog testdir drwxrwxr-x 2 4096 Feb 4 14:55 testdir $ rm -r testdir $ ls -ldog testdir ls: cannot access testdir: No such file or directory $ So it appears to me that the command and the documentation for it are there. I think you just missed seeing it. Most GNU/Unix users are so accustomed to useing 'rm -rf somethingsomething' that we don't often look at the documentation for it anymore. But I believe it is there okay just the same. :-) For completeness here is the online standards documentation. http://pubs.opengroup.org/onlinepubs/009695399/utilities/rm.html The -r option goes way back to the original Unix rm command forty years ago. > If this is something positive credit should be given to Ron Flowers. He > is the one who pointed it out to me. You are building good karma by passing along the credit! Good job. > Running Debian Lenny, GNU coreutils 8.5 Hmm... Not to cause a distraction here since it is completely irrelevant but Lenny uses version 6.10 and Squeeze/Sid is 8.5 with the expectation that Squeeze will release this weekend. And then Sid will upgrade to 8.10 which was released just today. I think you crossed your wires! :-) Bob From unknown Sat Jun 21 05:18:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7985: References: <1296775364.6749.5.camel@SDT> In-Reply-To: <1296775364.6749.5.camel@SDT> Resent-From: Tom Tijerina Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 04 Feb 2011 22:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7985 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 7985@debbugs.gnu.org Received: via spool by 7985-submit@debbugs.gnu.org id=B7985.129685858831391 (code B ref 7985); Fri, 04 Feb 2011 22:30:02 +0000 Received: (at 7985) by debbugs.gnu.org; 4 Feb 2011 22:29:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlUA0-0008AG-9f for submit@debbugs.gnu.org; Fri, 04 Feb 2011 17:29:48 -0500 Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlU9y-0008A2-VI for 7985@debbugs.gnu.org; Fri, 04 Feb 2011 17:29:47 -0500 Received: by gwb20 with SMTP id 20so1231081gwb.3 for <7985@debbugs.gnu.org>; Fri, 04 Feb 2011 14:38:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=NJt3rnCnYhlsiDitD50a2bmR++xiD5IrVBwKC0PRC0U=; b=HhK0E1IqdOAOzzyox3eEdRdDHlUdbh6v3sp6kgZQrDzLWvdnlSkrseNiCo/sr8dxX0 HatxMYY9xCVRpqu1q+95Jgz7kt6zg7vu7RQ4mGEb1G8MW6xoIQk5+gVwKnPavZum8p63 BlD+UMQ1u6jB2NDSuIWmzQI1VBKYuKAt81UMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=W02bhjLnVIrwYSCAYBJAtFbIBZiRhStPlzz/qQ9xu+O9jppc1mQYehIy9KoWOYO2Tg FpHsoDM91NClKILu9MjnBkOJULPIMKwRFfQg90mjJNGnY8dEMGjTRHykyP6bzxrHEyt2 bbLPHoZ51DLKCfWvM4qy9X3aaVuYGknm53Phs= Received: by 10.150.172.3 with SMTP id u3mr14760532ybe.409.1296859098277; Fri, 04 Feb 2011 14:38:18 -0800 (PST) Received: from [192.168.1.4] (244-192.97-97.tampabay.res.rr.com [97.97.192.244]) by mx.google.com with ESMTPS id w24sm129944ybk.9.2011.02.04.14.38.13 (version=SSLv3 cipher=OTHER); Fri, 04 Feb 2011 14:38:13 -0800 (PST) From: Tom Tijerina Content-Type: text/plain; charset="UTF-8" Date: Fri, 04 Feb 2011 17:39:06 -0500 Message-ID: <1296859146.11440.7.camel@SDT> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.9 (/) Thank you for your replies guys, I'm sorry we both managed to miss it. The wording is a bit on the odd side but it is fine the way it is. Sorry I wasted your time and thanks for making this wonderful system work on such a consistent basis. I wouldn't know how to operate with a buggy commercial OS at this point. Tom