[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #10846 [Flashproxy]: Make sed commands compatible with OS X (no -r option)
#10846: Make sed commands compatible with OS X (no -r option)
----------------------------+-----------------
Reporter: dcf | Owner: dcf
Type: defect | Status: new
Priority: minor | Milestone:
Component: Flashproxy | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
----------------------------+-----------------
Comment (by dcf):
Replying to [comment:6 infinity0]:
> I pushed some more fixes which I tested on FreeBSD - try it now?
I'm still getting errors with
[https://gitweb.torproject.org/flashproxy.git/commit/14dadf0fe2d4e284decaa478b1a227c51c2a2d24
14dadf0f] on OS X 10.9.1. The errors appear to be not about `-r`, but
about some sed label syntax.
I can't find a version number for sed. The date in the man page is May 10,
2005 and the author is Diomidis D. Spinellis <dds@xxxxxxxxxxx>. make is
GNU Make:
{{{
~/flashproxy$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
}}}
Here is the error, same as in comment:5:
{{{
~/flashproxy$ ./version.sh
sed: 2: "s/^Changes .* version \ ...": undefined label 'x;b;:x p;q'
}}}
Maybe this?
{{{
grep '^Changes in version ' ChangeLog | head -n 1 | sed -e 's/.*
\(..*\)$/\1/'
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10846#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs