Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 11:28:36 -0800
From:      Doug Barton <dougb@dougbarton.us>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Problem with etc/periodic/daily/310.accounting
Message-ID:  <4D640E64.5020008@dougbarton.us>
In-Reply-To: <AANLkTimMDD3-vZAT6irMsc3MR1cO3R6TH3PX0f=g8xEM@mail.gmail.com>
References:  <4D6323D9.5090500@dougbarton.us> <4D63659E.6010305@dougbarton.us> <AANLkTimMDD3-vZAT6irMsc3MR1cO3R6TH3PX0f=g8xEM@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/22/2011 07:57, Garrett Cooper wrote:

>      Can accounting_file by provided by user input (doesn't look like
> it today, but just to be safe I thought I should check)?

These are the kinds of questions it's good to answer for yourself before 
you post to the list. :)

> If so then the dirname should be restored. Example:
>
> $ foo=/a/b//////c
> $ echo ${foo%/*}
> /a/b/////
> $ dirname $foo
> /a/b

A) I refuse to believe that our users are that stupid
B) Even if they are, it works


Doug (ok, "refuse" is a bit strong ...)


-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D640E64.5020008>