summaryrefslogtreecommitdiffstats
path: root/archives/extend/2013-December/000317.html
blob: c451c1979cf109f1a75df6278904b1dc7f38bc47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] erlang.mk:109 sed \s is not portable
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20erlang.mk%3A109%20sed%20%5Cs%20is%20not%20portable&In-Reply-To=%3CCA%2BZ8kA7UwsDP2KeLSBEqQ2GBZZwCTgDoD8SOJ8RZ47-StQE6XQ%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000316.html">
   <LINK REL="Next"  HREF="000318.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] erlang.mk:109 sed \s is not portable</H1>
    <B>Christopher Vance</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20erlang.mk%3A109%20sed%20%5Cs%20is%20not%20portable&In-Reply-To=%3CCA%2BZ8kA7UwsDP2KeLSBEqQ2GBZZwCTgDoD8SOJ8RZ47-StQE6XQ%40mail.gmail.com%3E"
       TITLE="[99s-extend] erlang.mk:109 sed \s is not portable">cjsvance at gmail.com
       </A><BR>
    <I>Sun Dec 15 06:48:20 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="000316.html">[99s-extend] (no subject)
</A></li>
        <LI>Next message: <A HREF="000318.html">[99s-extend] erlang.mk:109 sed \s is not portable
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#317">[ date ]</a>
              <a href="thread.html#317">[ thread ]</a>
              <a href="subject.html#317">[ subject ]</a>
              <a href="author.html#317">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>I have recently started using erlang.mk on MacOS X and OpenBSD, and have
discovered that the sed escape \s on line 109 for inserting the module list
in *.app does not work as intended on these OSs, because they do not use
GNU sed. (\s just means the letter 's', not whitespace as in perl.) I
expect all other BSD-based OSs to have the same issue.

Please consider using [[:space:]] instead. This works on both MacOS X and
OpenBSD, as well as on Linux.

-- 
Christopher Vance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20131215/7c20ac97/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20131215/7c20ac97/attachment.html</A>&gt;
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000316.html">[99s-extend] (no subject)
</A></li>
	<LI>Next message: <A HREF="000318.html">[99s-extend] erlang.mk:109 sed \s is not portable
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#317">[ date ]</a>
              <a href="thread.html#317">[ thread ]</a>
              <a href="subject.html#317">[ subject ]</a>
              <a href="author.html#317">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>