[Haskell-cafe] Re: [Haskell] ANNOUNCE: jhc 0.7.4
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Sun Jul 11 00:02:48 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/10/10 23:55 , Antoine Latter wrote:
>> Here's the 'sed' error:
>
>>>>>>>
>> sed -e 's/^{-# OPTIONS[A-Z_]*/{-# OPTIONS_GHC -w /' -i src/FrontEnd/HsParser.hs
>> sed: -i may not be used with stdin
Aha. "in-place sed" is a GNU-ism, although NetBSD and FreeBSD ports have
native "sed_inplace". Most portable is to sed to a temp file and rename, or
use an ed script.
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw5QmcACgkQIn7hlCsL25XM2gCgpHim5UGl1J5ictN3HrKIAsqy
8kQAn28xZuT07Vdyad00rk3+fPaJOt9q
=VYLC
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list