From owner-cvs-src@FreeBSD.ORG Sun Mar 9 12:46:41 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BC5E106566C; Sun, 9 Mar 2008 12:46:41 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ACEE98FC20; Sun, 9 Mar 2008 12:46:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m29CkdYn083550; Sun, 9 Mar 2008 12:46:39 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m29Ckdvs083549; Sun, 9 Mar 2008 12:46:39 GMT (envelope-from rwatson) Message-Id: <200803091246.m29Ckdvs083549@repoman.freebsd.org> From: Robert Watson Date: Sun, 9 Mar 2008 12:46:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/realpath realpath.1 realpath.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 12:46:41 -0000 rwatson 2008-03-09 12:46:39 UTC FreeBSD src repository Modified files: bin/realpath realpath.1 realpath.c Log: Enhance realpath(1) in a number of ways: - Allow realpath to accept multiple paths on the command line. - Add -q to suppress warnings if some paths can't be processed, and use getopt(3) to process flags. - Print the path being requested rather than a possibly partially processed path when a failure occurs so that you can tell which of several passed paths did fail. MFC after: 1 week PR: 112920 Submitted by: Ighighi Revision Changes Path 1.11 +8 -0 src/bin/realpath/realpath.1 1.7 +26 -7 src/bin/realpath/realpath.c