Hei hie, 

Am 2014-03-21 15:52, schrieb John Goerzen:
> Just to be clear, what precisely is the output of uname on your system? 

GNU/kFreeBSD

> If you modify the script to accept that, then does it appear to work? 

I didn't test this yet. I'm unfamiliar with zfSnap and wanted to try if
it could fit my needs.

> What is the proper value for ESED on your system?  (FreeBSD is using
> 'sed -E', Linux is using 'sed -r')

Not sure, installed is the package sed 4.2.2-4 which is GNU sed:

  root@kleopatra ~ # sed --version
  sed (GNU sed) 4.2.2
  Copyright (C) 2012 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  
  Written by Jay Fenlason, Tom Lord, Ken Pizzini,
  and Paolo Bonzini.
  GNU-sed-Homepage: <http://www.gnu.org/software/sed/>.
  Allgemeine Hilfe zu GNU-Software: <http://www.gnu.org/gethelp/>.
  E-mail bug reports to: <bug-...@gnu.org>.
  Be sure to include the word ``sed'' somewhere in the ``Subject:''
field.

On a real FreeBSD 10.0 I get no version information from sed:

  alex@hydrogen ~ % sed --version
  sed: illegal option -- -
  usage: sed script [-Ealn] [-i extension] [file ...]
         sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ...
[file ...]

So I guess Debian GNU/kFreeBSD should use `sed -r`. Some short tests
with the uname added next to the Linux one on my machine seem to work,
but as I said: I don't know zfSnap yet, so I can't estimate if
everything works as it should.

HTH & Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to