Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2204

bug report; "sed" seems to track in dead loop

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From master <myexceptions@163.com>
Newsgroups gnu.utils.bug
Subject bug report; "sed" seems to track in dead loop
Date Thu, 21 Apr 2016 20:31:19 +0800 (CST)
Lines 65
Approved bug-gnu-utils@gnu.org
Message-ID <mailman.750.1461250260.7477.bug-gnu-utils@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type multipart/mixed; boundary="----=_Part_307710_176186779.1461241879905"
X-Trace usenet.stanford.edu 1461250260 13145 208.118.235.17 (21 Apr 2016 14:51:00 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-gnu-utils@gnu.org
Envelope-to bug-gnu-utils@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=dtHad +Q8K0ulBaVFvlfag1PYr7hiFBhDcIvb3/Tfz+A=; b=Z7KnrwvFI2NQW9Qysxda1 UahdKTchmr9GK1CcXnJQfqMsfLZjUlp+0Zig1W5BGVhtebLrs7XQF6IXSv33eP2U VFR4595OddvqQDWQE2oN/ITMkmQE6NoaiBSf1VLqn/+Cku7kCOkqkXHT9bl30Pm5 dDJV+bldzEKcyllFNUS7Vg=
X-Originating-IP [211.87.234.103]
X-Priority 3
X-Mailer Coremail Webmail Server Version SP_ntes V3.5 build 20160223(81157.8522) Copyright (c) 2002-2016 www.mailtech.cn 163com
X-CM-CTRLDATA 0mw8XGZvb3Rlcl9odG09MjQ0MDo1Ng==
X-Coremail-Locale zh_CN
X-CM-TRANSID ZcGowACXT5EYyBhXiBugAA--.10674W
X-CM-SenderInfo xp1h5u5hswx0lqv6il2tof0z/1tbiow5SB1UL5xul-QABsD
X-Coremail-Antispam 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU==
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From 123.58.178.201
X-Mailman-Approved-At Thu, 21 Apr 2016 10:50:59 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.21
X-BeenThere bug-gnu-utils@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU utilities <bug-gnu-utils.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnu-utils/>
List-Post <mailto:bug-gnu-utils@gnu.org>
List-Help <mailto:bug-gnu-utils-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.utils.bug:2204

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,
The "sed"  tracked in dead loop ,while i use these command
(1)
sed -e  "s/'/ /g"
(2)
sed -e "s/’/'/g"
(3)
normalize_text() {
  awk '{print tolower($0);}' | sed -e "s/’/'/g" -e "s/′/'/g" -e "s/''/ /g" -e "s/'/ ' /g" -e "s/“/\"/g" -e "s/”/\"/g" \
  -e 's/"/ " /g' -e 's/\./ \. /g' -e 's/<br \/>/ /g' -e 's/, / , /g' -e 's/(/ ( /g' -e 's/)/ ) /g' -e 's/\!/ \! /g' \
  -e 's/\?/ \? /g' -e 's/\;/ /g' -e 's/\:/ /g' -e 's/-/ - /g' -e 's/=/ /g' -e 's/=/ /g' -e 's/*/ /g' -e 's/|/ /g' \
  -e 's/?/ /g' | tr 0-9 " "
}


to edit this file


the piece is structured into five sections, which culminate in a loose <a href="ternary_form">aba format</a>. gershwin's first a episode introduces the two main "walking" themes in the "allegretto grazioso" and develops a third theme in the "subito con brio". the style of this a section is written in the typical french style of composers <a href="claude_debussy">claude debussy</a> and <a href="les_six">les six</a>. this a section featured duple meter, singsong rhythms, and diatonic melodies with the sounds of oboe, english horn, and taxi horns. the b section's "andante ma con ritmo deciso" introduces the american <a href="blues">blues</a> and spasms of homesickness. the "allegro" that follows continues to express homesickness in a faster <a href="twelve-bar_blues">twelve-bar blues</a>. in the b section, gershwin uses common time, syncopated rhythms, and bluesy melodies with the sounds of trumpet, saxophone, and snare drum. "moderato con grazia" is the last a section that returns to the themes set in a. after recapitulating the "walking" themes, gershwin overlays the slow blues theme from section b in the final “Grandioso.”


The content of attachment file is as same as above.


P.S. sorry for my poor English~~~


yours, sincerely!

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

bug report; "sed" seems to track in dead loop master <myexceptions@163.com> - 2016-04-21 20:31 +0800

csiph-web