From owner-cvs-all Fri Jan 25 10:32: 1 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A4FE137B400; Fri, 25 Jan 2002 10:31:57 -0800 (PST) Received: (from green@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0PIVvI85769; Fri, 25 Jan 2002 10:31:57 -0800 (PST) (envelope-from green) Message-Id: <200201251831.g0PIVvI85769@freefall.freebsd.org> From: Brian Feldman Date: Fri, 25 Jan 2002 10:31:57 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/fsdb fsdb.c fsdb.h fsdbutil.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG green 2002/01/25 10:31:57 PST Modified files: sbin/fsdb fsdb.c fsdb.h fsdbutil.c Log: Allow fsdb the ability to work with entries named with whitespace embedded. This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line. Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry. Revision Changes Path 1.19 +6 -2 src/sbin/fsdb/fsdb.c 1.5 +1 -0 src/sbin/fsdb/fsdb.h 1.13 +27 -2 src/sbin/fsdb/fsdbutil.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message