From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16EC11382C5 for ; Sun, 15 Apr 2018 00:25:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86322E08F5; Sun, 15 Apr 2018 00:25:47 +0000 (UTC) Received: from very.loosely.org (very.loosely.org [173.255.215.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1AE14E08D6 for ; Sun, 15 Apr 2018 00:25:46 +0000 (UTC) Received: from [10.8.78.6] (port=39882 helo=matica.foolinux.mooo.com) by ahiker.mooo.com with esmtp (Exim 4.89) (envelope-from ) id 1f7VUH-0004bS-Gp for gentoo-user@lists.gentoo.org; Sat, 14 Apr 2018 17:25:45 -0700 Received: from itz by matica.foolinux.mooo.com with local (Exim 4.90_1) (envelope-from ) id 1f7VU8-0001KL-6i for gentoo-user@lists.gentoo.org; Sat, 14 Apr 2018 17:25:36 -0700 Date: Sat, 14 Apr 2018 17:25:36 -0700 From: Ian Zimmerman To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Is udev-mount still valid? Message-ID: <20180415002536.v7rhfi3mt5av7xo5@matica.foolinux.mooo.com> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <2862795.nBRDiCczBa@dell_xps> <20180410185012.3zgvzbewadzts4nu@31c0.net> <3295436.7uGTZR2xnR@dell_xps> <20180413211834.k7sys6eygw6ejnmi@31c0.net> <20180414165851.lrhsnsyzwtpf6iyd@matica.foolinux.mooo.com> <20180414220235.ayzvikzkqh76rg42@31c0.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180414220235.ayzvikzkqh76rg42@31c0.net> X-Loosely-Listed: yes User-Agent: NeoMutt/20170707-dirty (1.8.3) X-Archives-Salt: 159e7e08-f5e7-466a-b6c8-78a4c6f581a9 X-Archives-Hash: 68810c0fc29b00b28743124338c2dfce On 2018-04-15 00:10, Floyd Anderson wrote: > > https://very.loosely.org/paste/symlinks-pl > Because argument ROOTDIR is mandatory, the script should do something > when ROOTDIR is not given, e.g. print usage. Maybe ‘-r’ should be also > mandatory or the script should define some useful defaults. Consider > following invocations: > > $ ./symlinks-pl > $ ./symlinks-pl /path/to/broken-symlink > $ ./symlinks-pl -r /path/to/broken-symlink > > which do nothing and results with exit code 0. I think this is more of a documentation bug in usage(). ROOTDIR is in fact not mandatory - a list of zero or more items is expected, and each item processed in turn. I remember thinking about it for a second, and this was the most consistent and regular behavior, so the most attractive to my droid mind :-P -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.