bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Magic sed expr


From: Linus Nordberg
Subject: [bug-mailutils] Magic sed expr
Date: Mon, 02 Feb 2004 00:56:54 +0100
User-agent: Gnus/5.1004 (Gnus v5.10.4) Emacs/21.3 (berkeley-unix)

Hi,

The sed expression in doc/texinfo/Makefile.am is truly neat.
Nevertheless does non-GNU seds dislike it deeply.  Would it be
ok to replace it with running awk?

This is what BSD sed thinks (free 4.9, open 3.4):

$ sed '1{s/\/\*/@comment  
/;b};2,/.*\*\//{s/\*\///;s/^/@comment/;b};s/\([{}]\)/@\1/g' 
sed: 1: "1{s/\/\*/@comment  /;b} ...": unexpected EOF (pending }'s)

-- 
Linus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]