Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > gnu.utils.bug > #2204
| From | master <myexceptions@163.com> |
|---|---|
| Newsgroups | gnu.utils.bug |
| Subject | bug report; "sed" seems to track in dead loop |
| Date | 2016-04-21 20:31 +0800 |
| Message-ID | <mailman.750.1461250260.7477.bug-gnu-utils@gnu.org> (permalink) |
[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
bug report; "sed" seems to track in dead loop master <myexceptions@163.com> - 2016-04-21 20:31 +0800
csiph-web