Jesper, Martijn, This looks like the issue that for sed on Linux, the `-i` option does not take an argument, whereas for sed on Mac, the `-i` option does take an argument, which is the suffix for a backup file. This difference can cause the following options to be misinterpreted. In this case, on Linux, the edit command will be "" and the first filename will be "/^ <meta charset=/d", giving the results that Martijn is observing. -- Jon On 5/26/20 11:50 AM, Jesper Wilhelmsson wrote:
Hi Martijn.
I build on Mac (latest updates) and haven’t seen the issue.
I’m not by the computer right now but can check what versions I have of sed etc later. /Jesper
26 maj 2020 kl. 20:34 skrev Martijn Verburg <martijnverburg@gmail.com>:
Hi all,
I just tried to build the guide and get:
MININT-NSR6ILC:guide karianna$ make pandoc src/changePlanning.md --css guidestyle.css --strip-comments --standalone --ascii --title-prefix "The OpenJDK Developers' Guide" | iconv -f UTF-8 -t ISO-8859-1 > build/changePlanning.html sed -i "" "/^ <meta charset=/d" build/changePlanning.html sed: can't read /^ <meta charset=/d: No such file or directory make: *** [build/changePlanning.html] Error 2
Anyone else experience this before I start digging in?
Cheers, Martijn