[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report; "sed" seems to track in dead loop
From: |
master |
Subject: |
bug report; "sed" seems to track in dead loop |
Date: |
Thu, 21 Apr 2016 20:31:19 +0800 (CST) |
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!
datatemp
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug report; "sed" seems to track in dead loop,
master <=