Hi,

On Fri, Sep 05, 2008 at 03:54:41PM +0200, Michael Tautschnig wrote:
> I'd suggest tagging this wontfix, because there is no added value apart from a
> minor beautification, at the expense of lots of dark bash magic, which may or
> may not be correct.

Well, the original report talks about _wrong_ entries in /etc/exports
while Henning notes that those entries are working fine [1]. Depending
on who is right, this bug should imho be either fixed or closed.

> Instead, we could use something like ipcalc, but adding this
> as a dependency isn't warranted either, IMHO.

The following would do the trick:

  ipcalc $addr $mask | grep '^Network:' | awk '{print $2}'

This does not include any black magic and it's really easy to read.
Adding ipcalc to the dependencies does not sound like a bad idea to me
to solve this.

Cheers,
Sebastian

[1] http://bugs.debian.org/480531#15

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to